Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _executor -> _thread | Henning Baldersheim | 2021-12-09 | 1 | -6/+3 |
| | |||||
* | Add init_fun to vespalib::Thread too to figure out what the thread is used for. | Henning Baldersheim | 2021-12-09 | 1 | -2/+4 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 36 | -36/+36 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 73 | -73/+73 |
| | |||||
* | Fix format strings. | Tor Egge | 2021-09-27 | 1 | -2/+2 |
| | |||||
* | remove wiring of useNewLogic flag | Arne H Juul | 2021-09-20 | 5 | -34/+12 |
| | |||||
* | simplify more | Arne H Juul | 2021-09-20 | 2 | -10/+6 |
| | |||||
* | remove unused files | Arne H Juul | 2021-09-20 | 11 | -705/+0 |
| | |||||
* | match in unnamed namespace | Arne H Juul | 2021-09-20 | 2 | -39/+19 |
| | |||||
* | removing more code | Arne H Juul | 2021-09-20 | 12 | -144/+35 |
| | |||||
* | remove unused variables | Arne H Juul | 2021-09-20 | 7 | -28/+8 |
| | |||||
* | stop sending old-sync RPC calls | Arne H Juul | 2021-09-20 | 3 | -193/+4 |
| | |||||
* | remove unused variables | Arne H Juul | 2021-09-20 | 3 | -6/+4 |
| | |||||
* | no double logic if feature flag is on | Arne H Juul | 2021-09-20 | 2 | -5/+7 |
| | |||||
* | test rpc_mapping_monitor | Håvard Pettersen | 2021-09-20 | 4 | -1/+235 |
| | | | | using the new fnet::TransportDebugger tool | ||||
* | Merge pull request #19182 from vespa-engine/arnej/move-some-code | Arne H Juul | 2021-09-20 | 11 | -84/+44 |
|\ | | | | | Arnej/move some code | ||||
| * | use _exchanger.removePartner for symmetry | Arne H Juul | 2021-09-17 | 1 | -6/+2 |
| | | |||||
| * | remove unused RpcServerMap::lookupPattern, move match to RPCHooks | Arne H Juul | 2021-09-17 | 4 | -38/+21 |
| | | |||||
| * | more peer management logic directly in SBEnv | Arne H Juul | 2021-09-17 | 7 | -41/+22 |
| | | |||||
* | | Merge pull request #19192 from vespa-engine/arnej/tune-timing | Arne H Juul | 2021-09-17 | 1 | -2/+2 |
|\ \ | | | | | | | use same timing for initial health check | ||||
| * | | use same timing for initial health check | Arne H Juul | 2021-09-17 | 1 | -2/+2 |
| |/ | | | | | | | | | | | * use the 2.7s +- 0.2s timing for first health check, that is also used for subsequent health checks * also, set timeout for ping to the usual 5 seconds value | ||||
* / | no need to check useNewLogic() here | Arne H Juul | 2021-09-17 | 1 | -10/+1 |
|/ | |||||
* | Merge pull request #19171 from vespa-engine/arnej/always-use-new-logic-2 | Håvard Pettersen | 2021-09-16 | 1 | -181/+17 |
|\ | | | | | cosmetic code style changes | ||||
| * | cosmetic code style changes | Arne H Juul | 2021-09-16 | 1 | -181/+17 |
| | | |||||
* | | low-level testing of fnet enabled by | Håvard Pettersen | 2021-09-16 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | | | | | | | 1. Manipulating how much time is spent waiting for events while also manipulating how the passing of time is observed by the transport threads. (fnet::TimeTools) 2. Periodic call-backs from FNET_Transport. All transport threads are blocked during these call-backs. Between each call-back, all transport threads perform a single event loop iteration and any async operations not performed in transport threads are flushed. (FNET_Transport::attach_capture_hook) 3. Combining 1 and 2 in a way that lets the test code run all transport threads one iteration at a time, letting the transport threads run concurrently with each other, but no transport thread is allowed to run concurrently with the test code. (fnet::TransportDebugger) | ||||
* | always run with new logic | Arne H Juul | 2021-09-16 | 2 | -5/+5 |
| | | | | | * we decided to avoid any warnings on unregister, so update unit test accordingly. | ||||
* | simplify request completion handling | Arne H Juul | 2021-09-15 | 7 | -31/+77 |
| | |||||
* | avoid spurious error | Arne H Juul | 2021-09-10 | 1 | -8/+2 |
| | | | | | | * last changes triggered this warning: slobrok.unregisterRpcServer(foo -> tcp/bar:4294967295) failed: conflict detected * why it wants to unregister "-1" as port number is unclear, but it's a no-op anyway | ||||
* | take no local action in new doAdd() | Arne H Juul | 2021-09-10 | 1 | -2/+0 |
| | |||||
* | also register in old world | Arne H Juul | 2021-09-10 | 1 | -0/+3 |
| | |||||
* | rewrite to use new logic | Arne H Juul | 2021-09-10 | 3 | -1/+131 |
| | |||||
* | add wouldConflict() for LocalRpcMonitorMap | Arne H Juul | 2021-09-10 | 2 | -0/+10 |
| | |||||
* | extend test | Håvard Pettersen | 2021-09-09 | 1 | -3/+50 |
| | |||||
* | remove ignoreFirstOk flag | Arne H Juul | 2021-09-09 | 2 | -10/+3 |
| | | | | | * instead of ignoring one ping, restart monitoring of the mapping (without hurry flag). | ||||
* | handle addLocal for down services better | Arne H Juul | 2021-09-09 | 2 | -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 api | Arne H Juul | 2021-09-09 | 2 | -0/+47 |
| | |||||
* | added test for local rpc monitor map | Håvard Pettersen | 2021-09-09 | 7 | -10/+300 |
| | |||||
* | Merge pull request #19025 from vespa-engine/arnej/prepare-for-switch | Arne H Juul | 2021-09-09 | 4 | -1/+28 |
|\ | | | | | Arnej/prepare for switch | ||||
| * | add wouldConflict() method to UnionServiceMap | Arne H Juul | 2021-09-08 | 2 | -0/+15 |
| | | |||||
| * | make more options for making different scripts | Arne H Juul | 2021-09-08 | 2 | -1/+13 |
| | | |||||
* | | skip diff between worlds when using new logic | Arne H Juul | 2021-09-08 | 1 | -11/+13 |
| | | |||||
* | | add convenience method in RPCHooks for feature flag | Arne H Juul | 2021-09-08 | 2 | -0/+6 |
| | | |||||
* | | wire feature flag into SBEnv | Arne H Juul | 2021-09-08 | 3 | -4/+11 |
|/ | |||||
* | accept option "-N" (for new logic) | Arne H Juul | 2021-09-07 | 1 | -1/+4 |
| | | | | * note: this is a no-op for now. | ||||
* | 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 |
| |