summaryrefslogtreecommitdiffstats
path: root/slobrok
Commit message (Collapse)AuthorAgeFilesLines
...
* also register in old worldArne H Juul2021-09-101-0/+3
|
* rewrite to use new logicArne H Juul2021-09-103-1/+131
|
* add wouldConflict() for LocalRpcMonitorMapArne H Juul2021-09-102-0/+10
|
* extend testHåvard Pettersen2021-09-091-3/+50
|
* remove ignoreFirstOk flagArne H Juul2021-09-092-10/+3
| | | | | * instead of ignoring one ping, restart monitoring of the mapping (without hurry flag).
* handle addLocal for down services betterArne H Juul2021-09-092-5/+53
| | | | | | | | * if we already have a registration in progress, hook the second one to the first so they get the same answer at the same time * if we think the service is down, restart its monitoring to avoid getting stale information, and add the inflight hook so we get an answer when the new ping returns.
* add extra method for use by unregister RPC apiArne H Juul2021-09-092-0/+47
|
* added test for local rpc monitor mapHåvard Pettersen2021-09-097-10/+300
|
* Merge pull request #19025 from vespa-engine/arnej/prepare-for-switchArne H Juul2021-09-094-1/+28
|\ | | | | Arnej/prepare for switch
| * add wouldConflict() method to UnionServiceMapArne H Juul2021-09-082-0/+15
| |
| * make more options for making different scriptsArne H Juul2021-09-082-1/+13
| |
* | skip diff between worlds when using new logicArne H Juul2021-09-081-11/+13
| |
* | add convenience method in RPCHooks for feature flagArne H Juul2021-09-082-0/+6
| |
* | wire feature flag into SBEnvArne H Juul2021-09-083-4/+11
|/
* accept option "-N" (for new logic)Arne H Juul2021-09-071-1/+4
| | | | * note: this is a no-op for now.
* we want local add (aka register requests) to start health check at onceArne Juul2021-09-025-10/+14
|
* 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