Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | consistent hierarchical naming in log setup | Arne Juul | 2021-07-01 | 13 | -13/+13 |
| | |||||
* | add new RPC api for fetching local view | Arne Juul | 2021-06-29 | 3 | -0/+24 |
| | |||||
* | remove really old unused code | Arne Juul | 2021-06-29 | 2 | -46/+0 |
| | |||||
* | GC old code | Arne Juul | 2021-06-29 | 5 | -370/+0 |
| | |||||
* | use ServiceMapHistory | Arne Juul | 2021-06-29 | 5 | -83/+47 |
| | |||||
* | Add noexcept | Henning Baldersheim | 2021-06-28 | 1 | -0/+1 |
| | |||||
* | check cancel() return value also | Arne Juul | 2021-06-28 | 1 | -1/+4 |
| | |||||
* | add ServiceMapHistory class | Arne Juul | 2021-06-28 | 10 | -5/+561 |
| | |||||
* | we must now be prepared for multiple notifyOk calls | Arne Juul | 2021-06-24 | 3 | -10/+11 |
| | | | | | * ManagedRpcServer now schedules its own health checks, so we must handle repeated OK notifications. | ||||
* | Merge pull request #18393 from vespa-engine/arnej/safer-pointers | Arne H Juul | 2021-06-24 | 2 | -20/+20 |
|\ | | | | | keep ownership in unique_ptr | ||||
| * | keep ownership in unique_ptr | Arne Juul | 2021-06-24 | 2 | -20/+20 |
| | | | | | | | | | | * avoid doing release() in one place and then making a new unique_ptr later, hoping that will always be in sync | ||||
* | | remove code which is useless now | Arne Juul | 2021-06-24 | 5 | -96/+0 |
|/ | |||||
* | simplify to avoid problems on shutdown | Arne Juul | 2021-06-24 | 2 | -21/+17 |
| | |||||
* | make each ManagedRpcServer its own Task | Arne Juul | 2021-06-23 | 4 | -17/+23 |
| | |||||
* | 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. |