Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deinline ServiceMapping copy constructor and copy assignment. | Tor Egge | 2022-05-30 | 2 | -0/+6 |
| | |||||
* | Fold staging_vespalib into vespalib | Henning Baldersheim | 2022-05-20 | 1 | -1/+0 |
| | |||||
* | make _reqDone atomic | Håvard Pettersen | 2022-05-19 | 4 | -10/+11 |
| | |||||
* | Move state_server, metrivs and some all executors from staging_vespalib too ↵ | Henning Baldersheim | 2022-05-18 | 3 | -5/+5 |
| | | | | vespalib. | ||||
* | wait for more things before destructing transport | Håvard Pettersen | 2022-05-02 | 2 | -0/+2 |
| | | | | | | Exiting the main loop of the transport thread(s) does no longer mean you are completely finished. We also need to wait for async dns resolving and tls handshake work. | ||||
* | Initialize transitive ctor dependencies before use | Tor Brede Vekterli | 2022-04-27 | 2 | -7/+8 |
| | | | | | Ensure that SBEnv fields that are accessed by RPCHooks ctor are initialized before the RPCHooks field itself is created. | ||||
* | remove FastOS_Application | Håvard Pettersen | 2022-04-08 | 5 | -79/+76 |
| | | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp | ||||
* | use getopt/getopt_long directly | Håvard Pettersen | 2022-04-01 | 2 | -11/+9 |
| | |||||
* | Revert "Fix Slobrok race between completion callback and scheduled task ↵ | Tor Brede Vekterli | 2022-03-04 | 1 | -37/+37 |
| | | | | [run-systemtest]" | ||||
* | Minor code cleanups - no change in semantics | Tor Brede Vekterli | 2022-02-28 | 1 | -33/+30 |
| | |||||
* | Fix Slobrok race between completion callback and scheduled task | Tor Brede Vekterli | 2022-02-28 | 1 | -4/+7 |
| | | | | | | This resolves a racing read/write on "request done" status that may happen when RPC `HandleDone()` is invoked from one FNET thread and `PerformTask()` is concurrently invoked from another FNET thread. | ||||
* | Add noexcept specifiers (slobrok). | Tor Egge | 2022-02-26 | 2 | -2/+2 |
| | |||||
* | Revert "Revert "- Create the common transport and threadpool in the main loop."" | Henning Baldersheim | 2022-02-24 | 2 | -4/+7 |
| | |||||
* | Revert "- Create the common transport and threadpool in the main loop." | Henning Baldersheim | 2022-02-24 | 2 | -7/+4 |
| | |||||
* | - Create the common transport and threadpool in the main loop. | Henning Baldersheim | 2022-02-24 | 2 | -4/+7 |
| | | | | | - Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace. | ||||
* | Make ConfigUri constructors explicit and use same context where possible in ↵ | Henning Baldersheim | 2022-02-20 | 1 | -1/+1 |
| | | | | proton. | ||||
* | Reduce code visibility and include only what you need from config library. | Henning Baldersheim | 2022-02-06 | 7 | -16/+29 |
| | |||||
* | _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 |
| |