aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Revert "Add support for creating ConfigContext with externally ↵Henning Baldersheim2022-02-2217-65/+105
| | | | provided FNET_…""
* Merge pull request #21324 from ↵Henning Baldersheim2022-02-2217-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 Baldersheim2022-02-2217-105/+65
| | | | | | | | FNET_…"
* | Merge pull request #21297 from ↵Henning Baldersheim2022-02-221-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 Egge2022-02-221-0/+6
| |
| * Use duration_cast to handle steady clock and system clock having differentTor Egge2022-02-211-2/+2
| | | | | | | | periods.
* | Add support for creating ConfigContext with externally provided ↵Henning Baldersheim2022-02-2217-65/+105
| | | | | | | | FNET_Transport object
* | Merge pull request #21295 from ↵Henning Baldersheim2022-02-223-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 Baldersheim2022-02-213-20/+22
| |/ | | | | | | SceduledExecutor …""
* / Fix forward declaration.Tor Egge2022-02-211-1/+1
|/
* Revert "Use a common FNET_Transport owned by Proton in both SceduledExecutor ↵Henning Baldersheim2022-02-213-22/+20
| | | | …"
* Merge pull request #21281 from vespa-engine/balder/use-common-transportHenning Baldersheim2022-02-213-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 Baldersheim2022-02-203-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 Baldersheim2022-02-202-19/+2
|/ | | | proton.
* Reduce code visibility and some UP typedefs.Henning Baldersheim2022-02-1821-78/+80
|
* Unify on using vespalib::duration.Henning Baldersheim2022-02-1854-391/+312
|
* Add a base vespa timer frequency that is used as a base to control poll ↵Henning Baldersheim2022-02-172-13/+14
| | | | frequency of various tasks.
* If timeout has already expired, no need to take expensive time samples.Henning Baldersheim2022-02-161-2/+7
|
* Merge pull request #21237 from ↵Henning Baldersheim2022-02-161-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 Baldersheim2022-02-161-3/+3
| | | | | | | | conversion and take a lock.
* | If timeout is zero or negative there is no need to make a costly call to ↵Henning Baldersheim2022-02-161-13/+21
|/ | | | sample the time.
* Include needed header files.Tor Egge2022-02-141-0/+1
|
* SimplifyHarald Musum2022-02-101-2/+1
|
* Handle previous config being null when setting new configHarald Musum2022-02-101-4/+5
| | | | | Handle previous config being null (i.e. not configured before when checking for unexpected change in config)
* Add namespace to filenameHarald Musum2022-02-091-0/+2
|
* Refactor to avoid code duplication.Henning Baldersheim2022-02-082-16/+6
|
* Add noexcept to move constructors.Henning Baldersheim2022-02-082-13/+6
|
* - Generate mode modern c++ code.Henning Baldersheim2022-02-0821-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 Musum2022-02-071-9/+4
|
* Merge pull request #21082 from vespa-engine/balder/reduce-code-visibilityHenning Baldersheim2022-02-07112-518/+563
|\ | | | | Reduce code visibility and include only what you need from config lib…
| * Add explicit on constructor and deinline destructors.Henning Baldersheim2022-02-079-19/+32
| |
| * Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-06112-516/+548
| |
* | Merge pull request #21093 from vespa-engine/bjorncs/dont-use-interruptsBjørn Christian Seime2022-02-073-1/+27
|\ \ | | | | | | Bjorncs/dont use interrupts [run-systemtest]
| * | Throw exception if subscriber is invoked after it's closedBjørn Christian Seime2022-02-073-1/+27
| |/
* / Fail if schema file cannot be openedHarald Musum2022-02-071-4/+9
|/
* Merge pull request #21067 from ↵Henning Baldersheim2022-02-041-12/+25
|\ | | | | | | | | vespa-engine/hmusum/always-use-schema-in-vespa-get-config Use installed config schema if none is given as option
| * Use installed config schema if none is given as optionHarald Musum2022-02-041-12/+25
| |
* | Update testHarald Musum2022-02-041-2/+2
| |
* | Use simplier format for string representation of config keyHarald Musum2022-02-043-13/+4
|/
* Merge pull request #21013 from vespa-engine/deprecate-config.subscriptionHarald Musum2022-02-0217-2/+43
|\ | | | | Deprecate config.subscription
| * Deprecate all types in config.subscription, except ConfigGetter.gjoranv2022-02-0115-2/+29
| |
| * Deprecate ConfigGetter APIs that use ConfigSourcegjoranv2022-01-312-0/+14
| |
* | Revert "Avoid using vespamalloc for small utility programs as it has a too ↵Henning Baldersheim2022-01-312-2/+2
|/ | | | hi… [run-systemtest]"
* Defer public API decisionMartin Polden2022-01-281-1/+1
|
* Log snippet instead of entire configMartin Polden2022-01-281-1/+5
|
* Ensure 'annotations' in provided scopeBjørn Christian Seime2022-01-281-2/+3
|
* Avoid using vespamalloc for small utility programs as it has a too high ↵Henning Baldersheim2022-01-282-2/+2
| | | | initial cost and memory footprint.
* - assert result of Close() in destructor of FastOS_File and FastOS_BufferedFile.Henning Baldersheim2022-01-261-1/+1
| | | | | | | - Check result of Close() - Check result of Sync() - Scope FastOS_File to avoid explicit Close(). - NULL -> nullptr
* Add more info in log message when config unexpectedly changesHarald Musum2022-01-241-4/+2
|
* Rename and update commentsHarald Musum2022-01-031-21/+20
|