aboutsummaryrefslogtreecommitdiffstats
path: root/slobrok
Commit message (Collapse)AuthorAgeFilesLines
* restrict scope of using statementArne Juul2021-08-301-2/+1
|
* diff with helper functionArne Juul2021-08-302-27/+37
|
* do diff of new/old worlds as part of health checkArne Juul2021-08-266-13/+64
|
* serve RPC calls from global historyArne Juul2021-08-241-55/+54
| | | | | | | * instead of wiring directly to the RpcServerMap, use global history as source of data for more RPC calls. * most of these are only used for unit tests / debugging * this makes it easy to switch underlying implementation later
* make pattern match publicArne Juul2021-08-241-2/+2
|
* Add noexcept specifiers.Tor Egge2021-08-231-1/+1
|
* Fix forward declaration.Tor Egge2021-08-231-0/+6
| | | | Add constructors.
* Merge pull request #18809 from vespa-engine/arnej/use-external-mapping-monitorArne H Juul2021-08-204-98/+106
|\ | | | | use new MappingMonitor
| * refactor common code -> addToMap/removeFromMapArne Juul2021-08-202-27/+47
| | | | | | | | | | | | * note: extra RemovedData struct is mainly useful to avoid warnings from -Winline (pragma was not completely successful in suppressing these).
| * now lookup never failsArne Juul2021-08-202-29/+27
| |
| * use new MappingMonitorArne Juul2021-08-204-66/+56
| |
* | stop exposing so much internal stateArne Juul2021-08-204-14/+17
| |
* | inject register calls into new world alsoArne Juul2021-08-201-1/+6
| |
* | stop listening to events from the old RpcServerMap, make feedback loop insteadArne Juul2021-08-201-1/+2
| |
* | expose our LocalRpcMonitorMapArne Juul2021-08-201-0/+4
| |
* | make the "Ignore" script more explicitArne Juul2021-08-203-10/+10
|/
* Merge pull request #18804 from vespa-engine/arnej/add-external-mapping-monitorArne H Juul2021-08-208-2/+174
|\ | | | | Arnej/add external mapping monitor
| * update after reviewArne Juul2021-08-203-40/+28
| | | | | | | | | | | | | | * MappingMonitorListener -> MappingMonitorOwner * construct with factory * RpcMappingMonitor always has an owner * refactor common lookup into active() method
| * add generic MappingMonitor APIArne Juul2021-08-196-0/+185
| | | | | | | | * and RPC implementation using ManagedRpcServer as before
| * fix logctl nameArne Juul2021-08-191-1/+1
| |
| * cleanup duplicate lineArne Juul2021-08-191-1/+0
| |
* | remove extra abortArne Juul2021-08-191-2/+0
| |
* | let destructors do cleanupArne Juul2021-08-181-4/+1
| |
* | make it easy to run servers with valgrindArne Juul2021-08-182-4/+6
| |
* | delay add() and remove() for untanglingArne Juul2021-08-182-15/+70
|/
* update internal state before dispatching to clientsArne Juul2021-08-181-11/+12
|
* allow delayed notificationsArne Juul2021-08-182-30/+36
| | | | | * may get notifyOk or notifyFailed from a ManagedRpcServer that we already decided to remove - those can be safely ignored.
* Revert "only use "delete later" in notifyFailed callback"Arne Juul2021-08-181-0/+2
| | | | This reverts commit f2db94927e4738897725ff1c6839450096346297.
* only use "delete later" in notifyFailed callbackArne Juul2021-08-171-2/+0
|
* ensure that sending event to dispatch happens after updating internal stateArne Juul2021-08-172-27/+56
| | | | | * map.erase() invalidates reference to contents, move it to a local variable first * cannot delete a ManagedRpcServer while we are in its callback
* move even more responsibility to lookup()Arne Juul2021-08-172-15/+11
|
* use aggregate initialization with designatorsArne Juul2021-08-172-19/+22
|
* answer inflight script more placesArne Juul2021-08-171-0/+8
|
* new LocalRpcMonitorMap::addLocal() APIArne Juul2021-08-172-7/+71
| | | | | | * for mappings that are not in the consensus map yet * handles inflight script, this will be used to send answer to "register" RPC requests
* lookup() is only used where it must succeedArne Juul2021-08-172-18/+14
|
* less log spamArne Juul2021-08-161-2/+3
|
* fix subscribe() calls to match guard namesArne Juul2021-08-161-3/+4
|
* Revert "explicit cleanup of partners"Arne Juul2021-08-162-9/+0
| | | | | | * cleanup now handled using guards. This reverts commit 523cae59a21a3b7d6d21c4749ef0384595b85fcb.
* use guards for subscriptionsArne Juul2021-08-1615-48/+80
|
* Reapply "Arnej/wire consensus map"Arne Juul2021-08-165-8/+24
| | | | This reverts commit 2fd9cd8cee954a7ecd7a828c96f7a7cfc8a2f7be.
* explicit cleanup of partnersArne Juul2021-08-162-0/+9
|
* Revert "Arnej/wire consensus map"Harald Musum2021-08-165-24/+8
|
* Merge pull request #18743 from vespa-engine/arnej/wire-consensus-mapArne H Juul2021-08-165-8/+24
|\ | | | | Arnej/wire consensus map
| * add consensus map and wire its inputsArne Juul2021-08-163-0/+9
| |
| * let LocalRpcMonitorMap implement MapSourceArne Juul2021-08-162-8/+15
| |
* | remove locking in utility classesArne Juul2021-08-154-44/+19
|/ | | | | | * we need full restructuring to be thread-safe, so there's no point in having locking (with potential for deadlocks) in these particular utility classes at this time.
* 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
|