Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "let RemoteSlobrok do its own initial health check" | Arne H Juul | 2021-08-14 | 2 | -73/+61 | |
| | ||||||
* | minor fixups after review | Arne Juul | 2021-08-13 | 1 | -1/+2 | |
| | ||||||
* | add missing initializer | Arne Juul | 2021-08-13 | 1 | -0/+1 | |
| | ||||||
* | let RemoteSlobrok do its own initial health check | Arne Juul | 2021-08-13 | 2 | -60/+70 | |
| | ||||||
* | some minor test improvements | Arne Juul | 2021-08-13 | 1 | -2/+44 | |
| | ||||||
* | some fixups for mirror of remote slobrok map: | Arne Juul | 2021-08-12 | 12 | -83/+216 | |
| | | | | | | | | | * require symmetrical register/unregister calls * modernize a bit * add unit test for ServiceMapMirror * use common mock listener in unit tests * add an explicit shutdown() when removing a RemoteSlobrok instance, and perform clear() after canceling all RPC requests and tasks | |||||
* | MapView -> ServiceMapMirror | Arne Juul | 2021-08-11 | 5 | -24/+25 | |
| | | | | | * add assert for generation match * un-constify access | |||||
* | Try using slobrok.internal.fetchLocalView also | Arne Juul | 2021-08-11 | 6 | -2/+228 | |
| | | | | | * add a MapView class holding a mirror of remote slobrok * perform incremental fetch to fill the MapView when possible. | |||||
* | Merge pull request #18691 from vespa-engine/arnej/add-local-rpc-monitor-map | Arne H Juul | 2021-08-11 | 5 | -1/+179 | |
|\ | | | | | add LocalRpcMonitorMap serving local history | |||||
| * | avoid storing another ServiceMapping in PerService data | Arne Juul | 2021-08-10 | 2 | -15/+18 | |
| | | ||||||
| * | require consistency in lookup() | Arne Juul | 2021-08-10 | 1 | -3/+2 | |
| | | ||||||
| * | cleanup | Arne Juul | 2021-08-10 | 3 | -4/+3 | |
| | | | | | | | | | | * drop unused GenCnt * localHistory() -> history() | |||||
| * | add LocalRpcMonitorMap serving local history | Arne Juul | 2021-08-05 | 5 | -1/+178 | |
| | | ||||||
* | | add unit test for UnionServiceMap | Arne Juul | 2021-08-05 | 5 | -0/+195 | |
| | | ||||||
* | | class for taking the union-with-veto of several maps | Arne Juul | 2021-08-05 | 3 | -0/+135 | |
|/ | ||||||
* | rewire global history | Arne Juul | 2021-07-15 | 6 | -13/+24 | |
| | | | | | | * add a MapSource proxy to the RpcServerMap * move rpcsrvmap "visible map" to sbenv "global history" * use registerListener for wiring | |||||
* | let ServiceMapHistory implement MapListener API | Arne Juul | 2021-07-14 | 4 | -24/+31 | |
| | ||||||
* | Merge pull request #18493 from vespa-engine/arnej/add-map-source-and-listener | Arne H Juul | 2021-07-13 | 7 | -2/+149 | |
|\ | | | | | add some new interfaces | |||||
| * | add some minimal class documentation | Arne Juul | 2021-07-13 | 3 | -0/+9 | |
| | | ||||||
| * | add some new interfaces | Arne Juul | 2021-07-01 | 7 | -2/+140 | |
| | | | | | | | | | | | | * add MapListener interface * add MapSource interface * add ProxyMapSource for simple forwarding | |||||
* | | 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 | |
| |