Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vespalib::stringref => std::string_view | Henning Baldersheim | 47 hours | 1 | -1/+1 |
| | |||||
* | Merge pull request #31660 from vespa-engine/havardpe/remove-testapp | Henning Baldersheim | 2024-06-20 | 1 | -1/+1 |
|\ | | | | | remove TEST_APPHOOK, TEST_INIT, TEST_DONE and TestApp | ||||
| * | remove TEST_APPHOOK, TEST_INIT, TEST_DONE and TestApp | Håvard Pettersen | 2024-06-20 | 1 | -1/+1 |
| | | |||||
* | | Rename slobrok library to vespa_slobrok. | Tor Egge | 2024-06-20 | 10 | -11/+11 |
|/ | |||||
* | remove TEST_SETUP macro and update tests | Håvard Pettersen | 2024-06-19 | 3 | -25/+12 |
| | |||||
* | Update copyright | Jon Bratseth | 2023-10-09 | 28 | -29/+29 |
| | |||||
* | use ref_counted in fnet | Håvard Pettersen | 2023-03-06 | 4 | -11/+11 |
| | | | | | | also get rid of some cleanup functions on reference counted classes enable specifying low-level parameters to addref/subref (cnt/reserve) | ||||
* | untangle slobrok from fastos | Håvard Pettersen | 2023-02-23 | 1 | -1/+0 |
| | |||||
* | untangle fnet from fastos | Håvard Pettersen | 2023-02-22 | 1 | -2/+1 |
| | |||||
* | stop using fastos thread | Håvard Pettersen | 2023-02-13 | 1 | -0/+1 |
| | | | | | | | | combine cancel with stop such that cancel means stopped before started and therefore never run. drop the started sync point since there is no state we need to pass from the thread to the starter of the thread. | ||||
* | Add noexcept MapDiff move constructor to avoid expensive and large copy ↵ | Henning Baldersheim | 2023-02-01 | 2 | -7/+10 |
| | | | | constructor. | ||||
* | Use snprintf instead of sprintf. | Tor Egge | 2023-01-31 | 1 | -1/+1 |
| | |||||
* | update unit test to track adjusted timing | Arne Juul | 2023-01-29 | 1 | -4/+11 |
| | |||||
* | Remove stacksize from the thread pools and thread executors. | Henning Baldersheim | 2022-12-20 | 1 | -1/+1 |
| | |||||
* | wait for more things before destructing transport | Håvard Pettersen | 2022-05-02 | 1 | -0/+1 |
| | | | | | | 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. | ||||
* | remove FastOS_Application | Håvard Pettersen | 2022-04-08 | 2 | -20/+18 |
| | | | | | | | | 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 | 1 | -6/+5 |
| | |||||
* | Revert "Revert "- Create the common transport and threadpool in the main loop."" | Henning Baldersheim | 2022-02-24 | 1 | -3/+6 |
| | |||||
* | Revert "- Create the common transport and threadpool in the main loop." | Henning Baldersheim | 2022-02-24 | 1 | -6/+3 |
| | |||||
* | - Create the common transport and threadpool in the main loop. | Henning Baldersheim | 2022-02-24 | 1 | -3/+6 |
| | | | | | - Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace. | ||||
* | Reduce code visibility and include only what you need from config library. | Henning Baldersheim | 2022-02-06 | 1 | -1/+0 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 10 | -10/+10 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 18 | -18/+18 |
| | |||||
* | Fix format strings. | Tor Egge | 2021-09-27 | 1 | -2/+2 |
| | |||||
* | test rpc_mapping_monitor | Håvard Pettersen | 2021-09-20 | 2 | -0/+233 |
| | | | | using the new fnet::TransportDebugger tool | ||||
* | more peer management logic directly in SBEnv | Arne H Juul | 2021-09-17 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -2/+2 |
| | | | | | * we decided to avoid any warnings on unregister, so update unit test accordingly. | ||||
* | simplify request completion handling | Arne H Juul | 2021-09-15 | 1 | -1/+1 |
| | |||||
* | extend test | Håvard Pettersen | 2021-09-09 | 1 | -3/+50 |
| | |||||
* | handle addLocal for down services better | Arne H Juul | 2021-09-09 | 1 | -2/+19 |
| | | | | | | | | * 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. | ||||
* | added test for local rpc monitor map | Håvard Pettersen | 2021-09-09 | 2 | -0/+276 |
| | |||||
* | make it easy to run servers with valgrind | Arne Juul | 2021-08-18 | 2 | -4/+6 |
| | |||||
* | use guards for subscriptions | Arne Juul | 2021-08-16 | 2 | -15/+13 |
| | |||||
* | some minor test improvements | Arne Juul | 2021-08-13 | 1 | -2/+44 |
| | |||||
* | some fixups for mirror of remote slobrok map: | Arne Juul | 2021-08-12 | 3 | -70/+143 |
| | | | | | | | | | * require symmetrical register/unregister calls * modernize a bit * add unit test for ServiceMapMirror * use common mock listener in unit tests * add an explicit shutdown() when removing a RemoteSlobrok instance, and perform clear() after canceling all RPC requests and tasks | ||||
* | add unit test for UnionServiceMap | Arne Juul | 2021-08-05 | 2 | -0/+189 |
| | |||||
* | let ServiceMapHistory implement MapListener API | Arne Juul | 2021-07-14 | 1 | -5/+5 |
| | |||||
* | check cancel() return value also | Arne Juul | 2021-06-28 | 1 | -1/+4 |
| | |||||
* | add ServiceMapHistory class | Arne Juul | 2021-06-28 | 2 | -0/+234 |
| | |||||
* | try to avoid valgrind complaints during shutdown | Arne Juul | 2021-06-08 | 1 | -0/+2 |
| | |||||
* | Use a hash map for specs. If the request is a point lookup then just use a ↵ | Henning Baldersheim | 2021-06-02 | 1 | -1/+1 |
| | | | | | | | | hash lookup. If it is a wildcard lookup iterate as earlier on. Also use vespalib::stringref in interface to avoid conversion. Use vespalib:string in the hash map to locate string in object aswe are still on old abi. | ||||
* | Use int for FastOS_UNIX_Application::GetOpt() return value. | Tor Egge | 2021-04-30 | 1 | -1/+1 |
| | |||||
* | Reapply "add more logging" (new and updated slobrok logging) | Arne Juul | 2021-04-21 | 1 | -63/+25 |
| | | | | This reverts commit 9aa3d6fe6567e3eee9108d6fffbc50d5874e72e3. | ||||
* | Revert "add more logging" | Harald Musum | 2021-04-20 | 1 | -25/+63 |
| | |||||
* | simpler backoff test | Arne Juul | 2021-04-19 | 1 | -63/+25 |
| | | | | * remove un-needed "static" | ||||
* | Use vespalib::duration for timeouts | Henning Baldersheim | 2021-01-31 | 4 | -0/+4 |
| | |||||
* | Use std::mutex over vespalib::Lock and reduce code visibility. | Henning Baldersheim | 2020-10-08 | 1 | -2/+2 |
| | |||||
* | Use vespalib::Lock -> std::mutex | Henning Baldersheim | 2020-10-08 | 1 | -1/+1 |
| | |||||
* | - Redo the servicepool to resolve addresses first time and not loadbalance. | Henning Baldersheim | 2020-04-01 | 1 | -9/+3 |
| | | | | | | - Make it thread safe. - Remove any loadbalancing tests - Assert that no loadbalancing is requested. |