Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid starting all RPC connections simultaneously | Arne Juul | 2021-06-16 | 3 | -10/+12 |
| | |||||
* | try to avoid valgrind complaints during shutdown | Arne Juul | 2021-06-08 | 1 | -0/+2 |
| | |||||
* | Remove unused variables. | Tor Egge | 2021-06-04 | 2 | -2/+0 |
| | |||||
* | Use a hash map for specs. If the request is a point lookup then just use a ↵ | Henning Baldersheim | 2021-06-02 | 6 | -54/+41 |
| | | | | | | | | hash lookup. If it is a wildcard lookup iterate as earlier on. Also use vespalib::stringref in interface to avoid conversion. Use vespalib:string in the hash map to locate string in object aswe are still on old abi. | ||||
* | ask Transport for slobrok server to drop empty buffers | Arne Juul | 2021-06-02 | 1 | -1/+1 |
| | |||||
* | Avoid coredump on bad/empty config. | Henning Baldersheim | 2021-05-25 | 2 | -2/+4 |
| | |||||
* | allow adding un-configured peer slobrok | Arne Juul | 2021-05-19 | 1 | -1/+1 |
| | |||||
* | Use int for FastOS_UNIX_Application::GetOpt() return value. | Tor Egge | 2021-04-30 | 2 | -2/+2 |
| | |||||
* | Reapply "add more logging" (new and updated slobrok logging) | Arne Juul | 2021-04-21 | 9 | -108/+105 |
| | | | | This reverts commit 9aa3d6fe6567e3eee9108d6fffbc50d5874e72e3. | ||||
* | Revert "add more logging" | Harald Musum | 2021-04-20 | 9 | -105/+108 |
| | |||||
* | simpler backoff test | Arne Juul | 2021-04-19 | 3 | -65/+27 |
| | | | | * remove un-needed "static" | ||||
* | add more logging | Arne Juul | 2021-04-19 | 8 | -45/+80 |
| | | | | | | | | * make it possible to track which location broker various components are registered with or mirroring information from. * most of these log messages should now look the same in the Java and C++ implementations | ||||
* | Use vespalib::duration for timeouts | Henning Baldersheim | 2021-01-31 | 4 | -0/+4 |
| | |||||
* | Misc cleanup of includes and code health | Henning Baldersheim | 2020-12-01 | 1 | -1/+0 |
| | |||||
* | Reduce loglevel from error to info | Henning Baldersheim | 2020-11-12 | 1 | -1/+1 |
| | |||||
* | Add some more info to error messages to ease debugging. | Henning Baldersheim | 2020-11-12 | 1 | -4/+5 |
| | |||||
* | GC unuse code and use std::mutex/std:condition_variable over vespalib::Monitor | Henning Baldersheim | 2020-10-14 | 1 | -6/+2 |
| | |||||
* | Use std::mutex over vespalib::Lock and reduce code visibility. | Henning Baldersheim | 2020-10-08 | 1 | -2/+2 |
| | |||||
* | Use vespalib::Lock -> std::mutex | Henning Baldersheim | 2020-10-08 | 4 | -7/+7 |
| | |||||
* | - GC unused code. | Henning Baldersheim | 2020-10-07 | 2 | -4/+3 |
| | | | | - vespalib::Lock -> std::mutex | ||||
* | - Redo the servicepool to resolve addresses first time and not loadbalance. | Henning Baldersheim | 2020-04-01 | 1 | -9/+3 |
| | | | | | | - Make it thread safe. - Remove any loadbalancing tests - Assert that no loadbalancing is requested. | ||||
* | avoid race in slobrok unit test | Arne Juul | 2020-03-18 | 1 | -0/+6 |
| | |||||
* | FastOS_THread::Sleep -> std::chrono::sleep_for | Henning Baldersheim | 2019-12-04 | 4 | -10/+10 |
| | | | | | Renamed Timer -> ScheduledExecutor. Do not include thread.h when not needed in header files. | ||||
* | FastOS_Time -> std::chrono. | Henning Baldersheim | 2019-11-20 | 1 | -3/+2 |
| | |||||
* | seconds are not milliseconds | Henning Baldersheim | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | Remove FastOS_Time usage | Henning Baldersheim | 2019-11-20 | 2 | -11/+27 |
| | |||||
* | Ensure static `SBEnv` instance is destroyed when exceptions are triggered | Tor Brede Vekterli | 2019-09-12 | 1 | -3/+6 |
| | | | | | | | Since the instance is declared as `static` it will otherwise be destroyed as part of the global destructor invocation cycle at exit. Any transitive dependencies that are also static may or may not be destroyed prior to the `SBEnv` instance itself, causing undefined behavior. | ||||
* | Avoid calling time(nullptr) | Henning Baldersheim | 2019-08-26 | 2 | -6/+12 |
| | |||||
* | Use std::_Exit instead of std::quick_exit. | Tor Egge | 2019-08-06 | 1 | -1/+1 |
| | |||||
* | 25s -> 60s stabilization time limit | Håvard Pettersen | 2019-06-19 | 1 | -1/+1 |
| | |||||
* | remove usage and implementation of "slobrok.mirror.fetch" API | Arne Juul | 2019-05-14 | 6 | -194/+1 |
| | |||||
* | GC unused ancient api | Henning Baldersheim | 2019-05-13 | 6 | -534/+0 |
| | |||||
* | Stop threads | Henning Baldersheim | 2019-05-11 | 2 | -0/+2 |
| | |||||
* | Take full control over the supervisor | Henning Baldersheim | 2019-05-11 | 2 | -4/+12 |
| | |||||
* | Simplify the supervisor responsibility | Henning Baldersheim | 2019-05-10 | 10 | -109/+77 |
| | |||||
* | protect from invoking new requests during destructor | Arne Juul | 2019-03-14 | 1 | -1/+5 |
| | | | | | * race condition during shutdown would lead to core dump in some rare cases. | ||||
* | Remove files used by old unit test runner. | Tor Egge | 2019-02-19 | 10 | -10/+0 |
| | |||||
* | Adjust forward declarations in slobrok. | Tor Egge | 2019-02-08 | 1 | -3/+3 |
| | |||||
* | Make slobrok RegisterAPI busy flag polling data race free | Tor Brede Vekterli | 2019-01-10 | 2 | -6/+7 |
| | |||||
* | Expose exception information. If totally unknown, generate core. | Henning Baldersheim | 2018-10-09 | 2 | -7/+3 |
| | |||||
* | Modernize slobrok internals more | Arne Juul | 2018-10-08 | 10 | -124/+128 |
| | | | | | | | | * simplify / clarify some code * modernize slightly * reduce data multiplication * rename command class to ScriptCommand * use "localhost" in test | ||||
* | Revert "Arnej/avoid multiple callbacks 2" | Henning Baldersheim | 2018-10-08 | 12 | -158/+130 |
| | |||||
* | RequestDone must still cleanup after Abort | Arne Juul | 2018-10-08 | 2 | -10/+17 |
| | |||||
* | avoid multiple callbacks, take 2 | Arne Juul | 2018-10-08 | 12 | -127/+148 |
| | | | | | | | | | | * postpone actual work to scheduled tasks, to avoid multiple threads doing callbacks at the same time * simplify / clarify some code * modernize slightly * reduce data multiplication * rename command class to ScriptCommand * use "localhost" in test | ||||
* | Revert "Arnej/avoid multiple callbacks" | Harald Musum | 2018-10-03 | 12 | -148/+127 |
| | |||||
* | reduce data multiplication | Arne Juul | 2018-10-03 | 2 | -13/+12 |
| | |||||
* | simplify / clarify code somewhat | Arne Juul | 2018-10-03 | 1 | -9/+16 |
| | |||||
* | simplify some APIs | Arne Juul | 2018-10-03 | 5 | -24/+28 |
| | |||||
* | rename class to something readable | Arne Juul | 2018-10-03 | 7 | -81/+75 |
| | |||||
* | modernize slightly | Arne Juul | 2018-10-03 | 2 | -8/+7 |
| |