Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | we want local add (aka register requests) to start health check at once | Arne Juul | 2021-09-02 | 5 | -10/+14 |
| | |||||
* | restrict scope of using statement | Arne Juul | 2021-08-30 | 1 | -2/+1 |
| | |||||
* | diff with helper function | Arne Juul | 2021-08-30 | 2 | -27/+37 |
| | |||||
* | do diff of new/old worlds as part of health check | Arne Juul | 2021-08-26 | 6 | -13/+64 |
| | |||||
* | serve RPC calls from global history | Arne Juul | 2021-08-24 | 1 | -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 public | Arne Juul | 2021-08-24 | 1 | -2/+2 |
| | |||||
* | Add noexcept specifiers. | Tor Egge | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | Fix forward declaration. | Tor Egge | 2021-08-23 | 1 | -0/+6 |
| | | | | Add constructors. | ||||
* | Merge pull request #18809 from vespa-engine/arnej/use-external-mapping-monitor | Arne H Juul | 2021-08-20 | 4 | -98/+106 |
|\ | | | | | use new MappingMonitor | ||||
| * | refactor common code -> addToMap/removeFromMap | Arne Juul | 2021-08-20 | 2 | -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 fails | Arne Juul | 2021-08-20 | 2 | -29/+27 |
| | | |||||
| * | use new MappingMonitor | Arne Juul | 2021-08-20 | 4 | -66/+56 |
| | | |||||
* | | stop exposing so much internal state | Arne Juul | 2021-08-20 | 4 | -14/+17 |
| | | |||||
* | | inject register calls into new world also | Arne Juul | 2021-08-20 | 1 | -1/+6 |
| | | |||||
* | | stop listening to events from the old RpcServerMap, make feedback loop instead | Arne Juul | 2021-08-20 | 1 | -1/+2 |
| | | |||||
* | | expose our LocalRpcMonitorMap | Arne Juul | 2021-08-20 | 1 | -0/+4 |
| | | |||||
* | | make the "Ignore" script more explicit | Arne Juul | 2021-08-20 | 3 | -10/+10 |
|/ | |||||
* | Merge pull request #18804 from vespa-engine/arnej/add-external-mapping-monitor | Arne H Juul | 2021-08-20 | 8 | -2/+174 |
|\ | | | | | Arnej/add external mapping monitor | ||||
| * | update after review | Arne Juul | 2021-08-20 | 3 | -40/+28 |
| | | | | | | | | | | | | | | * MappingMonitorListener -> MappingMonitorOwner * construct with factory * RpcMappingMonitor always has an owner * refactor common lookup into active() method | ||||
| * | add generic MappingMonitor API | Arne Juul | 2021-08-19 | 6 | -0/+185 |
| | | | | | | | | * and RPC implementation using ManagedRpcServer as before | ||||
| * | fix logctl name | Arne Juul | 2021-08-19 | 1 | -1/+1 |
| | | |||||
| * | cleanup duplicate line | Arne Juul | 2021-08-19 | 1 | -1/+0 |
| | | |||||
* | | remove extra abort | Arne Juul | 2021-08-19 | 1 | -2/+0 |
| | | |||||
* | | let destructors do cleanup | Arne Juul | 2021-08-18 | 1 | -4/+1 |
| | | |||||
* | | make it easy to run servers with valgrind | Arne Juul | 2021-08-18 | 2 | -4/+6 |
| | | |||||
* | | delay add() and remove() for untangling | Arne Juul | 2021-08-18 | 2 | -15/+70 |
|/ | |||||
* | update internal state before dispatching to clients | Arne Juul | 2021-08-18 | 1 | -11/+12 |
| | |||||
* | allow delayed notifications | Arne Juul | 2021-08-18 | 2 | -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 Juul | 2021-08-18 | 1 | -0/+2 |
| | | | | This reverts commit f2db94927e4738897725ff1c6839450096346297. | ||||
* | only use "delete later" in notifyFailed callback | Arne Juul | 2021-08-17 | 1 | -2/+0 |
| | |||||
* | ensure that sending event to dispatch happens after updating internal state | Arne Juul | 2021-08-17 | 2 | -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 Juul | 2021-08-17 | 2 | -15/+11 |
| | |||||
* | use aggregate initialization with designators | Arne Juul | 2021-08-17 | 2 | -19/+22 |
| | |||||
* | answer inflight script more places | Arne Juul | 2021-08-17 | 1 | -0/+8 |
| | |||||
* | new LocalRpcMonitorMap::addLocal() API | Arne Juul | 2021-08-17 | 2 | -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 succeed | Arne Juul | 2021-08-17 | 2 | -18/+14 |
| | |||||
* | less log spam | Arne Juul | 2021-08-16 | 1 | -2/+3 |
| | |||||
* | fix subscribe() calls to match guard names | Arne Juul | 2021-08-16 | 1 | -3/+4 |
| | |||||
* | Revert "explicit cleanup of partners" | Arne Juul | 2021-08-16 | 2 | -9/+0 |
| | | | | | | * cleanup now handled using guards. This reverts commit 523cae59a21a3b7d6d21c4749ef0384595b85fcb. | ||||
* | use guards for subscriptions | Arne Juul | 2021-08-16 | 15 | -48/+80 |
| | |||||
* | Reapply "Arnej/wire consensus map" | Arne Juul | 2021-08-16 | 5 | -8/+24 |
| | | | | This reverts commit 2fd9cd8cee954a7ecd7a828c96f7a7cfc8a2f7be. | ||||
* | explicit cleanup of partners | Arne Juul | 2021-08-16 | 2 | -0/+9 |
| | |||||
* | Revert "Arnej/wire consensus map" | Harald Musum | 2021-08-16 | 5 | -24/+8 |
| | |||||
* | Merge pull request #18743 from vespa-engine/arnej/wire-consensus-map | Arne H Juul | 2021-08-16 | 5 | -8/+24 |
|\ | | | | | Arnej/wire consensus map | ||||
| * | add consensus map and wire its inputs | Arne Juul | 2021-08-16 | 3 | -0/+9 |
| | | |||||
| * | let LocalRpcMonitorMap implement MapSource | Arne Juul | 2021-08-16 | 2 | -8/+15 |
| | | |||||
* | | remove locking in utility classes | Arne Juul | 2021-08-15 | 4 | -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 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 |
| |