aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Return after logging error message.Henning Baldersheim2021-06-011-0/+1
|
* Avoid coredump on no config sources.Henning Baldersheim2021-06-014-35/+32
|
* Do an explicit copy.Henning Baldersheim2021-05-081-1/+4
|
* Use AbstractUtf8Array in interface and a more flexible implementation to ↵Henning Baldersheim2021-05-075-23/+35
| | | | reduce amount of copying.
* Use ByteBuffer interface.Henning Baldersheim2021-05-071-9/+8
|
* Add ByteBuffer as interface.Henning Baldersheim2021-05-071-3/+10
|
* Add ByteBuffer to the interface to prepare for less copying of data.Henning Baldersheim2021-05-071-0/+10
|
* Use int for FastOS_UNIX_Application::GetOpt() return value.Tor Egge2021-04-303-3/+3
|
* Remove redundant checks for closed subscriptionHarald Musum2021-04-301-6/+7
|
* Change delay when there are transient config errorsHarald Musum2021-04-303-59/+50
| | | | | | Delay next config request a random amount of time between 0 and error delay. This is to avoid thundering herd issues. Delay when getting fatal errors are unchanged.
* Simplify calculating delay after config failuresHarald Musum2021-04-293-123/+76
| | | | | | | | When there are several subscribers to a config and 1 JRTConfiguRequester the counter for failures might quickly increase so backoff based on these numbers will not be useful. Simplify by using booleans for failures instead. Max delay for configured subscriptions will now be 30 seconds instead of 150 seconds (which is way too much)
* More lazy debug log message generationJon Marius Venstad2021-04-281-3/+3
|
* Simplify codeHarald Musum2021-04-287-64/+17
| | | | | | Add equals and hashcode to JRTConnection Just switch to a new one if current connection is failing Removes need for last sucess, error etc. and healthy status
* Method should not be publicHarald Musum2021-04-281-1/+1
|
* Switch connection only when the current one is failingHarald Musum2021-04-284-60/+58
| | | | | | Subscribers set error on a connection if it fails, so when having many subscribers we should not switch unless the current connection is having errors
* Exclude current sources when all sources are unhealthyHarald Musum2021-04-273-19/+61
| | | | | | When choosing a new source when all are unhealthy exclude the current source. Minor changes to toString for JRTConnection
* Change the way we switch connection when the current one is not workingHarald Musum2021-04-275-55/+90
| | | | | | Consider only healthy sources (if there are any) when switching to a new one fue to failures. Also log when connecting to a source
* Log more when config subscription failsHarald Musum2021-04-262-11/+6
|
* Go back to using BasicHttpClientConnectionManagerHenning Baldersheim2021-04-091-1/+2
|
* Just use defaults.Henning Baldersheim2021-04-081-2/+1
|
* Revert "Revert "Revert "Revert "Unify on hc5""""Henning Baldersheim2021-04-081-6/+7
|
* Revert "Revert "Revert "Unify on hc5"""Henning Baldersheim2021-04-081-7/+6
|
* Revert "Revert "Unify on hc5""Henning Baldersheim2021-04-081-6/+7
|
* Revert "Unify on hc5"Henning Baldersheim2021-04-081-7/+6
|
* Unify on hc5Henning Baldersheim2021-04-081-6/+7
|
* Move client builders to major specific sub packagesJon Marius Venstad2021-03-231-1/+1
|
* Add copyright headersJon Bratseth2021-03-181-0/+1
|
* GC unused env variablesHarald Musum2021-03-151-9/+0
|
* Merge pull request #16944 from vespa-engine/hmusum/gc-unused-env-variablesHenning Baldersheim2021-03-153-37/+16
|\ | | | | GC unused env variables
| * GC unused env variablesHarald Musum2021-03-153-37/+16
| |
* | Remove unused optionsHarald Musum2021-03-121-31/+2
|/
* Ask for fast shutdown of executor.Henning Baldersheim2021-03-111-5/+7
| | | | Only wait 1s for scheduler to complete.
* string.h does not need alloc.hHenning Baldersheim2021-02-217-0/+7
|
* use size literals in configArne Juul2021-02-154-4/+7
|
* enableSmallBuffers -> useSmallBuffersHenning Baldersheim2021-02-121-1/+1
|
* Use small buffers where size matters more than speed.Henning Baldersheim2021-02-121-1/+1
|
* Use vespalib::duration for timeoutsHenning Baldersheim2021-01-316-9/+14
|
* Various readability and code cleanup. closure -> lambdaHenning Baldersheim2021-01-231-5/+1
|
* Track explicitly when we are initializing configJon Bratseth2020-12-1612-37/+66
|
* GC unused parameter. No need to say maybe when it is definitive.Henning Baldersheim2020-12-157-11/+9
|
* Support force reget config for testsJon Bratseth2020-12-081-1/+1
|
* Revert "Merge pull request #15739 from ↵Jon Bratseth2020-12-0828-169/+66
| | | | | | | vespa-engine/revert-15734-bratseth/simplify-config-take-2" This reverts commit d1e33a9420805f5d416ca55ed79497fd28f20216, reversing changes made to 10464c859ccca2596e2b841612f8ea958330e4dc.
* Revert "Bratseth/simplify config take 2"Harald Musum2020-12-0828-66/+169
|
* Use generation to determine initial configurationJon Bratseth2020-12-083-7/+9
|
* Revert "Merge pull request #15690 from ↵Jon Bratseth2020-12-0727-162/+57
| | | | | | | vespa-engine/revert-15686-bratseth/simplify-config" This reverts commit a90709008ec0d108ee9a2e26bda20e39a10424b5, reversing changes made to fcb2b4a2fd7a594520613c48d58e26963c68ea90.
* Revert "Keep internal-redeploy serverside. Remove old restartOnDeploy ↵Jon Bratseth2020-12-0427-57/+162
| | | | impleme…"
* Keep internal-redeploy serverside. Remove old restartOnDeploy implementation.Jon Bratseth2020-12-0427-162/+57
|
* Revert "Merge pull request #15581 from ↵Jon Bratseth2020-12-0230-82/+176
| | | | | | | vespa-engine/revert-15578-bratseth/apply-on-restart-take-10" This reverts commit 4cf13bc7db215e77f7688e429f700880c115fe76, reversing changes made to e21f385bd4f21326608f3a69325df4e96d4a65e5.
* Revert "Bratseth/apply on restart take 10"Jon Bratseth2020-12-0230-176/+82
|
* Revert "Merge pull request #15577 from ↵Jon Bratseth2020-12-0130-82/+176
| | | | | | | vespa-engine/revert-15575-bratseth/apply-on-restart-take-9" This reverts commit b9f054f862e6fc7bdbf41b9404605e2a8ad6b249, reversing changes made to 535b586bae36880259a792e2292f02b8495950fe.