summaryrefslogtreecommitdiffstats
path: root/slobrok
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "let RemoteSlobrok do its own initial health check"Arne H Juul2021-08-142-73/+61
|
* minor fixups after reviewArne Juul2021-08-131-1/+2
|
* add missing initializerArne Juul2021-08-131-0/+1
|
* let RemoteSlobrok do its own initial health checkArne Juul2021-08-132-60/+70
|
* some minor test improvementsArne Juul2021-08-131-2/+44
|
* some fixups for mirror of remote slobrok map:Arne Juul2021-08-1212-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 -> ServiceMapMirrorArne Juul2021-08-115-24/+25
| | | | | * add assert for generation match * un-constify access
* Try using slobrok.internal.fetchLocalView alsoArne Juul2021-08-116-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-mapArne H Juul2021-08-115-1/+179
|\ | | | | add LocalRpcMonitorMap serving local history
| * avoid storing another ServiceMapping in PerService dataArne Juul2021-08-102-15/+18
| |
| * require consistency in lookup()Arne Juul2021-08-101-3/+2
| |
| * cleanupArne Juul2021-08-103-4/+3
| | | | | | | | | | * drop unused GenCnt * localHistory() -> history()
| * add LocalRpcMonitorMap serving local historyArne Juul2021-08-055-1/+178
| |
* | add unit test for UnionServiceMapArne Juul2021-08-055-0/+195
| |
* | class for taking the union-with-veto of several mapsArne Juul2021-08-053-0/+135
|/
* rewire global historyArne Juul2021-07-156-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 APIArne Juul2021-07-144-24/+31
|
* Merge pull request #18493 from vespa-engine/arnej/add-map-source-and-listenerArne H Juul2021-07-137-2/+149
|\ | | | | add some new interfaces
| * add some minimal class documentationArne Juul2021-07-133-0/+9
| |
| * add some new interfacesArne Juul2021-07-017-2/+140
| | | | | | | | | | | | * add MapListener interface * add MapSource interface * add ProxyMapSource for simple forwarding
* | consistent hierarchical naming in log setupArne Juul2021-07-0113-13/+13
|/
* add new RPC api for fetching local viewArne Juul2021-06-293-0/+24
|
* remove really old unused codeArne Juul2021-06-292-46/+0
|
* GC old codeArne Juul2021-06-295-370/+0
|
* use ServiceMapHistoryArne Juul2021-06-295-83/+47
|
* Add noexceptHenning Baldersheim2021-06-281-0/+1
|
* check cancel() return value alsoArne Juul2021-06-281-1/+4
|
* add ServiceMapHistory classArne Juul2021-06-2810-5/+561
|
* we must now be prepared for multiple notifyOk callsArne Juul2021-06-243-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-pointersArne H Juul2021-06-242-20/+20
|\ | | | | keep ownership in unique_ptr
| * keep ownership in unique_ptrArne Juul2021-06-242-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 nowArne Juul2021-06-245-96/+0
|/
* simplify to avoid problems on shutdownArne Juul2021-06-242-21/+17
|
* make each ManagedRpcServer its own TaskArne Juul2021-06-234-17/+23
|
* avoid starting all RPC connections simultaneouslyArne Juul2021-06-163-10/+12
|
* try to avoid valgrind complaints during shutdownArne Juul2021-06-081-0/+2
|
* Remove unused variables.Tor Egge2021-06-042-2/+0
|
* Use a hash map for specs. If the request is a point lookup then just use a ↵Henning Baldersheim2021-06-026-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 buffersArne Juul2021-06-021-1/+1
|
* Avoid coredump on bad/empty config.Henning Baldersheim2021-05-252-2/+4
|
* allow adding un-configured peer slobrokArne Juul2021-05-191-1/+1
|
* Use int for FastOS_UNIX_Application::GetOpt() return value.Tor Egge2021-04-302-2/+2
|
* Reapply "add more logging" (new and updated slobrok logging)Arne Juul2021-04-219-108/+105
| | | | This reverts commit 9aa3d6fe6567e3eee9108d6fffbc50d5874e72e3.
* Revert "add more logging"Harald Musum2021-04-209-105/+108
|
* simpler backoff testArne Juul2021-04-193-65/+27
| | | | * remove un-needed "static"
* add more loggingArne Juul2021-04-198-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 timeoutsHenning Baldersheim2021-01-314-0/+4
|
* Misc cleanup of includes and code healthHenning Baldersheim2020-12-011-1/+0
|
* Reduce loglevel from error to infoHenning Baldersheim2020-11-121-1/+1
|
* Add some more info to error messages to ease debugging.Henning Baldersheim2020-11-121-4/+5
|