summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Include algorithm header file, needed for std::for_each and std::sort.Tor Egge2022-04-231-0/+1
|
* Make sure we only add config with updated generation to subscription queueHarald Musum2022-04-192-13/+14
|
* Revert "Revert "Warn if config changes without generation changing""Harald Musum2022-04-193-5/+17
|
* Revert "Warn if config changes without generation changing"Harald Musum2022-04-193-17/+5
|
* Merge pull request #22113 from ↵Harald Musum2022-04-193-5/+17
|\ | | | | | | | | vespa-engine/hmusum/change-log-level-add-explanation Warn if config changes without generation changing
| * Warn if config updated without generation updatedHarald Musum2022-04-193-6/+17
| | | | | | | | | | | | Always add response to response queue for subscription. Add warnings if config changes without generation and of config state has an unexpected change.
| * Unexpected config change: Lower log level and add explanationHarald Musum2022-04-131-2/+3
| |
* | Merge pull request #21982 from vespa-engine/lesters/default-url-configLester Solbakken2022-04-192-0/+11
|\ \ | |/ |/| Accept default values for URL types in config
| * Move embedder config def to configdefinitions and serialize as referenceLester Solbakken2022-04-062-0/+11
| |
* | remove FastOS_ApplicationHåvard Pettersen2022-04-083-45/+44
| | | | | | | | | | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp
* | Synchronize when polling config response queueHarald Musum2022-04-081-1/+1
|/
* use getopt/getopt_long directlyHåvard Pettersen2022-04-013-31/+28
|
* Don't take ref of 1st vector element when emptyTor Brede Vekterli2022-03-281-4/+7
| | | | Ref isn't used, but still undefined behavior.
* No functional changesJon Bratseth2022-03-252-319/+188
|
* Avoid signed integer overflow in hashCode() which could trigger undefinedTor Egge2022-03-241-1/+1
| | | | behavior.
* add some sanity checkingArne H Juul2022-03-231-4/+8
|
* Merge pull request #21645 from vespa-engine/mpolden/check-major-version-compatHarald Musum2022-03-111-20/+23
|\ | | | | Reject config request when major version is incompatible
| * Reject config request when major version is incompatibleMartin Polden2022-03-111-20/+23
| |
* | Suppress deprecation warningsHåkon Hallingstad2022-03-101-0/+2
|/
* Revert back to using poll for nextUpdateHenning Baldersheim2022-03-041-3/+3
|
* - Remove provider, Handler,Waitable, PollAble, Interruptable as separate ↵Henning Baldersheim2022-03-0311-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 Baldersheim2022-03-032-5/+5
|\ | | | | | | | | vespa-engine/vekterli/make-config-retriever-closed-polling-atomic Make ConfigRetriever closed-state polling atomic
| * Make ConfigRetriever closed-state polling atomicTor Brede Vekterli2022-03-032-5/+5
| |
* | Add noexceptHenning Baldersheim2022-03-033-11/+11
| |
* | Inline small gettersHenning Baldersheim2022-03-036-53/+18
|/
* relative std::this_thread::sleep_for is more efficient than absolute ↵Henning Baldersheim2022-03-031-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 Baldersheim2022-03-0211-68/+74
|
* Add a simple adjustTimeoutByDetectedHz to compute a suitable timeout/naptime ↵Henning Baldersheim2022-02-281-1/+1
| | | | | | based on base VESPA_TIMER_HZ to use for random waiting when doing a poll based appraoch.
* Remove inlining warnings (config).Tor Egge2022-02-264-1/+9
|
* Move start and run into separate method to properly scope lifetime of ↵Henning Baldersheim2022-02-252-1/+10
| | | | objects and shutdown common transport last.
* Revert "Revert "- Create the common transport and threadpool in the main loop.""Henning Baldersheim2022-02-242-11/+36
|
* Revert "- Create the common transport and threadpool in the main loop."Henning Baldersheim2022-02-242-36/+11
|
* - Create the common transport and threadpool in the main loop.Henning Baldersheim2022-02-242-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 Baldersheim2022-02-222-41/+31
|
* 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
|