Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert back to using poll for nextUpdate | Henning Baldersheim | 2022-03-04 | 1 | -3/+3 |
| | |||||
* | - Remove provider, Handler,Waitable, PollAble, Interruptable as separate ↵ | Henning Baldersheim | 2022-03-03 | 11 | -125/+22 |
| | | | | | | | interface. - Hold the lock when closing the ConfigHolder so that noone risk getting stuck inside the wait_until. - Use wait_until instead of poll. | ||||
* | Merge pull request #21526 from ↵ | Henning Baldersheim | 2022-03-03 | 2 | -5/+5 |
|\ | | | | | | | | | vespa-engine/vekterli/make-config-retriever-closed-polling-atomic Make ConfigRetriever closed-state polling atomic | ||||
| * | Make ConfigRetriever closed-state polling atomic | Tor Brede Vekterli | 2022-03-03 | 2 | -5/+5 |
| | | |||||
* | | Add noexcept | Henning Baldersheim | 2022-03-03 | 3 | -11/+11 |
| | | |||||
* | | Inline small getters | Henning Baldersheim | 2022-03-03 | 6 | -53/+18 |
|/ | |||||
* | relative std::this_thread::sleep_for is more efficient than absolute ↵ | Henning Baldersheim | 2022-03-03 | 1 | -2/+2 |
| | | | | std::this_thread::sleep_until. This is the opposite of std::condition_variable::wait_until/wait_for. | ||||
* | Use wait_until deadline to reduce number of times we need to sample the clock. | Henning Baldersheim | 2022-03-02 | 11 | -68/+74 |
| | |||||
* | Add a simple adjustTimeoutByDetectedHz to compute a suitable timeout/naptime ↵ | Henning Baldersheim | 2022-02-28 | 1 | -1/+1 |
| | | | | | | based on base VESPA_TIMER_HZ to use for random waiting when doing a poll based appraoch. | ||||
* | Remove inlining warnings (config). | Tor Egge | 2022-02-26 | 4 | -1/+9 |
| | |||||
* | Move start and run into separate method to properly scope lifetime of ↵ | Henning Baldersheim | 2022-02-25 | 2 | -1/+10 |
| | | | | objects and shutdown common transport last. | ||||
* | Revert "Revert "- Create the common transport and threadpool in the main loop."" | Henning Baldersheim | 2022-02-24 | 2 | -11/+36 |
| | |||||
* | Revert "- Create the common transport and threadpool in the main loop." | Henning Baldersheim | 2022-02-24 | 2 | -36/+11 |
| | |||||
* | - Create the common transport and threadpool in the main loop. | Henning Baldersheim | 2022-02-24 | 2 | -11/+36 |
| | | | | | - Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace. | ||||
* | Ensure that the transport thread has longer lifetime than the FRTConnectionPool. | Henning Baldersheim | 2022-02-22 | 2 | -41/+31 |
| | |||||
* | Revert "Revert "Add support for creating ConfigContext with externally ↵ | Henning Baldersheim | 2022-02-22 | 17 | -65/+105 |
| | | | | provided FNET_…"" | ||||
* | Merge pull request #21324 from ↵ | Henning Baldersheim | 2022-02-22 | 17 | -105/+65 |
|\ | | | | | | | | | vespa-engine/revert-21318-balder/allow-creating-config-context-with-provided-transport Revert "Add support for creating ConfigContext with externally provided FNET_…" | ||||
| * | Revert "Add support for creating ConfigContext with externally provided ↵ | Henning Baldersheim | 2022-02-22 | 17 | -105/+65 |
| | | | | | | | | FNET_…" | ||||
* | | Merge pull request #21297 from ↵ | Henning Baldersheim | 2022-02-22 | 1 | -2/+8 |
|\ \ | |/ |/| | | | | | vespa-engine/toregge/handle-higher-resolution-for-steady-clock-duration Use duration_cast to handle steady clock and system clock having different periods. | ||||
| * | Add comment about why duration_cast is needed. | Tor Egge | 2022-02-22 | 1 | -0/+6 |
| | | |||||
| * | Use duration_cast to handle steady clock and system clock having different | Tor Egge | 2022-02-21 | 1 | -2/+2 |
| | | | | | | | | periods. | ||||
* | | Add support for creating ConfigContext with externally provided ↵ | Henning Baldersheim | 2022-02-22 | 17 | -65/+105 |
| | | | | | | | | FNET_Transport object | ||||
* | | Merge pull request #21295 from ↵ | Henning Baldersheim | 2022-02-22 | 3 | -20/+22 |
|\ \ | | | | | | | | | | | | | vespa-engine/revert-21294-revert-21281-balder/use-common-transport Revert "Revert "Use a common FNET_Transport owned by Proton in both SceduledExecutor …"" | ||||
| * | | Revert "Revert "Use a common FNET_Transport owned by Proton in both ↵ | Henning Baldersheim | 2022-02-21 | 3 | -20/+22 |
| |/ | | | | | | | SceduledExecutor …"" | ||||
* / | Fix forward declaration. | Tor Egge | 2022-02-21 | 1 | -1/+1 |
|/ | |||||
* | Revert "Use a common FNET_Transport owned by Proton in both SceduledExecutor ↵ | Henning Baldersheim | 2022-02-21 | 3 | -22/+20 |
| | | | | …" | ||||
* | Merge pull request #21281 from vespa-engine/balder/use-common-transport | Henning Baldersheim | 2022-02-21 | 3 | -20/+22 |
|\ | | | | | Use a common FNET_Transport owned by Proton in both SceduledExecutor … | ||||
| * | Use a common FNET_Transport owned by Proton in both SceduledExecutor and ↵ | Henning Baldersheim | 2022-02-20 | 3 | -20/+22 |
| | | | | | | | | | | | | | | | | | | | | TransactionLogServer. This reduces the number of Transport object by 1 per document type and netto 1 in Proton. Each of them contains 2 threads. In addition it uses a common Transport for the RpcFileAcquirer objects used during config fetching. This prevents creating 3 temporary Transport objects on every reconfig. | ||||
* | | Make ConfigUri constructors explicit and use same context where possible in ↵ | Henning Baldersheim | 2022-02-20 | 2 | -19/+2 |
|/ | | | | proton. | ||||
* | Reduce code visibility and some UP typedefs. | Henning Baldersheim | 2022-02-18 | 21 | -78/+80 |
| | |||||
* | Unify on using vespalib::duration. | Henning Baldersheim | 2022-02-18 | 54 | -391/+312 |
| | |||||
* | Add a base vespa timer frequency that is used as a base to control poll ↵ | Henning Baldersheim | 2022-02-17 | 2 | -13/+14 |
| | | | | frequency of various tasks. | ||||
* | If timeout has already expired, no need to take expensive time samples. | Henning Baldersheim | 2022-02-16 | 1 | -2/+7 |
| | |||||
* | Merge pull request #21237 from ↵ | Henning Baldersheim | 2022-02-16 | 1 | -3/+3 |
|\ | | | | | | | | | vespa-engine/balder/if-queue-is-empty-no-need-to-check-again If the queue is empty, avoid an extra poll which will do both an extr… | ||||
| * | If the queue is empty, avoid an extra poll which will do both an extra time ↵ | Henning Baldersheim | 2022-02-16 | 1 | -3/+3 |
| | | | | | | | | conversion and take a lock. | ||||
* | | If timeout is zero or negative there is no need to make a costly call to ↵ | Henning Baldersheim | 2022-02-16 | 1 | -13/+21 |
|/ | | | | sample the time. | ||||
* | Include needed header files. | Tor Egge | 2022-02-14 | 1 | -0/+1 |
| | |||||
* | Simplify | Harald Musum | 2022-02-10 | 1 | -2/+1 |
| | |||||
* | Handle previous config being null when setting new config | Harald Musum | 2022-02-10 | 1 | -4/+5 |
| | | | | | Handle previous config being null (i.e. not configured before when checking for unexpected change in config) | ||||
* | Add namespace to filename | Harald Musum | 2022-02-09 | 1 | -0/+2 |
| | |||||
* | Refactor to avoid code duplication. | Henning Baldersheim | 2022-02-08 | 2 | -16/+6 |
| | |||||
* | Add noexcept to move constructors. | Henning Baldersheim | 2022-02-08 | 2 | -13/+6 |
| | |||||
* | - Generate mode modern c++ code. | Henning Baldersheim | 2022-02-08 | 21 | -132/+176 |
| | | | | | - Use existing predefined types. - Allow for better management by allowing large string vectors to be mmapped. | ||||
* | Revert "Fail if schema file cannot be opened" | Harald Musum | 2022-02-07 | 1 | -9/+4 |
| | |||||
* | Merge pull request #21082 from vespa-engine/balder/reduce-code-visibility | Henning Baldersheim | 2022-02-07 | 112 | -518/+563 |
|\ | | | | | Reduce code visibility and include only what you need from config lib… | ||||
| * | Add explicit on constructor and deinline destructors. | Henning Baldersheim | 2022-02-07 | 9 | -19/+32 |
| | | |||||
| * | Reduce code visibility and include only what you need from config library. | Henning Baldersheim | 2022-02-06 | 112 | -516/+548 |
| | | |||||
* | | Merge pull request #21093 from vespa-engine/bjorncs/dont-use-interrupts | Bjørn Christian Seime | 2022-02-07 | 3 | -1/+27 |
|\ \ | | | | | | | Bjorncs/dont use interrupts [run-systemtest] | ||||
| * | | Throw exception if subscriber is invoked after it's closed | Bjørn Christian Seime | 2022-02-07 | 3 | -1/+27 |
| |/ | |||||
* / | Fail if schema file cannot be opened | Harald Musum | 2022-02-07 | 1 | -4/+9 |
|/ |