aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Avoid clearing config response queueHarald Musum2022-01-033-14/+21
| | | | | | | There have been races due to the fact that we used to clear the queue when receiving a response, thus missing some of the responses. This stops clearing the queue and handles several items on the queue by polling until the queue is empty when a new item is found on the queue.
* Merge pull request #20628 from vespa-engine/hmusum/config-cleanup-3gjoranv2022-01-034-50/+17
|\ | | | | Simplify MockConnection
| * Simplify MockConnectionHarald Musum2022-01-034-50/+17
| | | | | | | | | | No need to use thread, start() isn't called anyway. Collapse methods into one to simplify
* | Deprecate getConfigMd5() and setConfigMd5()Harald Musum2022-01-031-0/+1
|/ | | | | We don't use md5 checksum for config anymore, methods will be removed in Vespa 8.
* GC deprecated junit assertThat.Henning Baldersheim2021-12-2126-202/+186
|
* Fix calculation of initial value of last logged timestampHarald Musum2021-12-181-2/+2
|
* Less logging when config requests failHarald Musum2021-12-161-7/+1
| | | | A warning will be logged every minute independently of this
* Merge branch 'master' into ↵Harald Musum2021-12-115-53/+35
|\ | | | | | | revert-20366-revert-20350-hmusum/config-subscription-refactoring-part-5
| * Merge pull request #20445 from ↵Henning Baldersheim2021-12-101-1/+1
| |\ | | | | | | | | | | | | vespa-engine/hmusum/wait-longer-before-warning-the-first-time Wait longer before logging a warning the first time
| | * Wait longer before logging a warning the first timeHarald Musum2021-12-101-1/+1
| | |
| * | Merge pull request #20431 from vespa-engine/arnej/add-builder-lambda-convenienceArne H Juul2021-12-092-49/+27
| |\ \ | | |/ | |/| Arnej/add builder lambda convenience
| | * unit test new functional APIsArne H Juul2021-12-092-49/+27
| | |
| * | _executor -> _threadHenning Baldersheim2021-12-092-7/+6
| | |
| * | Add init_fun to vespalib::Thread too to figure out what the thread is used for.Henning Baldersheim2021-12-092-4/+9
| |/
* / Revert "Revert "Config subscription refactoring, part 5 [run-systemtest]""Harald Musum2021-12-0614-167/+136
|/
* Revert "Config subscription refactoring, part 5 [run-systemtest]"Harald Musum2021-12-0414-136/+167
|
* Cleanup use of requesters and config sourcesHarald Musum2021-12-0314-149/+136
| | | | | Remove requesters() method from ConfigSubscriber as well, not useful for others and is documented as for internal use only
* Remove useless testHarald Musum2021-12-031-18/+0
| | | | We will never use more than one ConfigSourceSet for a GenericConfigSubscriber
* Merge pull request #20345 from ↵gjoranv2021-12-036-24/+26
|\ | | | | | | | | vespa-engine/hmusum/config-subscription-refactoring-part-4 Minor cleanup of ConfigSource in subscriptions [run-systemtest]
| * MInor cleanup of ConfigSource in subscriptionsHarald Musum2021-12-036-24/+26
| |
* | track namespace move in documenttypes.defArne H Juul2021-12-021-1/+1
|/ | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.