summaryrefslogtreecommitdiffstats
path: root/config-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Turn off debuggingHarald Musum2019-11-121-1/+1
|
* Log to vespa log in debug mode and add debug mode for vespa-ping-configproxyHarald Musum2019-11-071-1/+1
|
* Improve dumpcache command a bitHarald Musum2019-09-132-7/+26
| | | | Log a bit when running, handle errors better, more output when something goes wrong
* Fix mode switchingHarald Musum2019-09-081-3/+4
| | | | Use the new mode when switching and log correctly
* update shell bootstrap sectionsArne Juul2019-09-043-0/+12
|
* SimplifyHarald Musum2019-09-036-56/+38
|
* Simplify ModeHarald Musum2019-07-123-65/+9
| | | | | Remove mode testing covered elsewhere, remove handling of empty string for mode
* Merge branch 'master' into hmusum/config-proxy-refactoring-2Harald Musum2019-07-126-173/+15
|\
| * Remove event logging from config proxyHarald Musum2019-07-126-175/+15
| | | | | | | | | | | | Statistics in config proxy are logged as events in vespa log, we want to move away from that to using real metrics if we need something like this in the future. AFAIK these events have not proved useful for anything in a long time.
* | Create DelayedResponses in one placeHarald Musum2019-07-111-10/+6
|/
* Refactoring, no functional changesHarald Musum2019-07-1115-194/+92
| | | | | Untangle class hierarchy a bit, move ClientUpdater code into RpcConfigSourceClient. Remove a complicated and unnecessary unit test in ProxyServerTest that depended on mocks behaving correctly.
* Handle any exceptions when running executor serviceHarald Musum2019-07-101-2/+7
|
* Add maintainer for deleting unused file references and downloadsHarald Musum2019-07-104-3/+181
| | | | | | Will delete files and downloads to accessed for 30 days (depends on RequestTracker, which will change last modified timestamp when files or downloads are requested
* Track when file reference or download was last requestedHarald Musum2019-07-083-22/+48
|
* Move file distribution rpc server to config-proxyHarald Musum2019-07-082-3/+137
| | | | Only used in one place, just RPC stuff, so move to config-proxy module
* Use a valid timeoutBjørn Christian Seime2019-07-051-1/+3
| | | | 0 actually meant 0 seconds timeout.
* Minor refactoring, move into separate packageHarald Musum2019-07-053-9/+50
|
* Create TestServer class that handle server side setupBjørn Christian Seime2019-07-031-18/+38
|
* Process all RPC requests in dedicated thread poolBjørn Christian Seime2019-07-032-88/+183
| | | | - Rewrite unit tests to use a RPC client
* Increase number of JRT transport threadsBjørn Christian Seime2019-07-031-1/+2
|
* Remove usage of deprecated Method constructorBjørn Christian Seime2019-05-232-28/+24
|
* Clear cache when getting config with generation 0 (empty config)Harald Musum2019-05-038-20/+31
|
* Handle getting new config after getting empty configHarald Musum2019-05-013-2/+37
| | | | | | | | | | | | Sentinel config is empty with generation 0 if an application does not exist. When we get that, make sure not to cache the config and make sure to ask for new new config even when we have one for generation 0, to handle cases where we get empty sentinel config due to some config server issue/bug when upgrading and where the effect is that empty sentinel config is served. This change should make the sentinel start services immediately after such an issue has been fixed.
* Avoid using JNI instance of XXHashFactory (fails due to bundled libraries ↵Harald Musum2019-04-251-1/+1
| | | | not working)
* Use the new variablesValerij Fredriksen2019-03-211-1/+1
|
* Send response also when config generation is 0Harald Musum2019-03-123-34/+67
| | | | | | Needed for returning empty sentinel config, since we cannot use a new generation numbed. 0 is used as a special generation number that should allow response to be given to client even if it is not higher than the current generation.
* Make sure we have anough threads no matter how many processors the JVM saysHarald Musum2019-02-081-1/+1
|
* Minor cleanup, no functional changesHarald Musum2019-02-086-36/+21
|
* Remove duplicate CatchSigTerm from vespajlibHåkon Hallingstad2019-01-311-7/+8
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Add guard to avoid sending config with older generation than current to ↵Harald Musum2019-01-142-9/+25
| | | | subscribers
* Add error message to returned error for url downloadLester Solbakken2019-01-101-3/+3
|
* Log time spent in downloading urlsLester Solbakken2019-01-101-0/+3
|
* Update license headerLester Solbakken2019-01-091-1/+1
|
* Download files specified in url config fieldLester Solbakken2019-01-092-0/+146
|
* Use shade plugin instead of assembly.gjoranv2018-09-121-18/+25
| | | | NOTE: the fat jar will no longer be attached to the artifact.
* Add BouncyCastle as compile dependency to config-proxyBjørn Christian Seime2018-09-111-0/+5
|
* enforce log retention policiesArne Juul2018-09-061-0/+1
| | | | | | | | | | | * for access logs, save meta-data about the log file itself in a simple format. * implement a proof-of-concept shell script that removes log files after one month. * ensure retention enforcer is started when services start * note that retention enforcer will continue running even after services stop, but it has protection to ensure that it won't multiply endlessly.
* just exit on out of memoryArne Juul2018-07-181-1/+1
| | | | | | * asking java to fork 'kill -9 %p' will often fail with "os::fork_and_exec failed: Cannot allocate memory (12)" message. * instead, use a newish option (from JDK 8u92) to just exit
* Set MaxJavaStackTraceDepth to a value legal for all JVM versions.gjoranv2018-07-051-1/+1
| | | | - On JDK 9+, -1 is invalid, and 0 really means zero.
* Nonfunctional changesJon Bratseth2018-06-209-13/+15
|
* Merge pull request #6048 from ↵Henning Baldersheim2018-06-041-1/+1
|\ | | | | | | | | vespa-engine/toregge/use-bash-interpreter-for-ubuntu-port Scripts using bash extensions should use bash as interpreter.
| * Scripts using bash extensions should use bash as interpreter.Tor Egge2018-06-011-1/+1
| |
* | Separate internal redeploys from application package changesJon Bratseth2018-06-014-9/+9
|/ | | | | | | | | Separate system internal redeploys from application package changes such that we can ignore config updates originating from application package changes if restart on deploy is true, as the config change will be followed by a restart - but continue to effect config changes originating from internal system changes as those will not (and should not) be followed by a restart.
* update bootstrapArne Juul2018-05-163-6/+15
|
* update bootstrap section of scriptsArne Juul2018-05-143-0/+27
|
* Revert "Revert "Balder/remove config race""Henning Baldersheim2018-03-051-7/+8
|
* Remove junit.fdramework usageJon Bratseth2018-03-021-2/+2
|
* usleep is deprecated in shell scripts.Tor Egge2018-02-201-1/+1
|
* Revert "Balder/remove config race"Henning Baldersheim2018-02-181-8/+7
|