aboutsummaryrefslogtreecommitdiffstats
path: root/config-proxy
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Let RawConfig be a ConfigInstanceHenning Baldersheim2018-02-161-7/+8
|
* Simplify and avoid creating strings unnecessarilyHarald Musum2017-12-135-41/+21
|
* Lower log levelHarald Musum2017-12-071-1/+1
| | | | | | Lower log level (at least for a while) to a level that does not make system tests fail due to errors and warnings in log. Use to be debug level before PR #4384
* SimplifyHenning Baldersheim2017-12-071-13/+7
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent2"gjoranv2017-11-301-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent"gjoranv2017-11-291-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-291-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Move fildistribution code to filedistribution moduleHarald Musum2017-11-178-896/+7
|
* Revert "Revert "Revert "Hmusum/move new filedistribution classes"""Harald Musum2017-11-168-11/+896
|
* Revert "Revert "Hmusum/move new filedistribution classes""Harald Musum2017-11-168-896/+11
|
* Revert "Hmusum/move new filedistribution classes"Harald Musum2017-11-168-11/+896
|
* Use project version for vespa dependenciesHarald Musum2017-11-151-9/+9
|
* Move classes to filedistribution moduleHarald Musum2017-11-158-892/+7
|
* part-id not needed in eof method.Henning Baldersheim2017-11-141-5/+4
|
* Add receive files chunked skeleton.Henning Baldersheim2017-11-141-6/+46
|
* Validate xxhash when receiving fileHarald Musum2017-11-144-9/+27
|
* Register receiveFile with the client supervisorHarald Musum2017-11-144-63/+129
| | | | | | | Since the server will use the same connection to call receiveFile after the client have called serveFile we need to register the RPC method using the same supervisor as the client uses. Also some preparations for making the code more reusable for others.
* Wire in receiving filesHarald Musum2017-11-133-9/+23
|