summaryrefslogtreecommitdiffstats
path: root/config-proxy/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* 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
|
* Move fildistribution code to filedistribution moduleHarald Musum2017-11-177-892/+2
|
* Revert "Revert "Revert "Hmusum/move new filedistribution classes"""Harald Musum2017-11-167-2/+892
|
* Revert "Revert "Hmusum/move new filedistribution classes""Harald Musum2017-11-167-892/+2
|
* Revert "Hmusum/move new filedistribution classes"Harald Musum2017-11-167-2/+892
|
* Move classes to filedistribution moduleHarald Musum2017-11-157-892/+2
|
* 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
|
* Split out file distribution RPC methods into its own classHarald Musum2017-11-106-121/+178
|
* Revert "Move file distribution stuff to filedistribution module"Harald Musum2017-11-097-12/+710
|
* Move file distribution stuff to filedistribution moduleHarald Musum2017-11-097-710/+12
|
* Correct the signature.Henning Baldersheim2017-11-071-1/+1
|
* Update receiveFile to new signature.Henning Baldersheim2017-11-071-1/+4
|
* Fix test to not read from queueHarald Musum2017-11-073-6/+9
|
* Add a queue for downloadsHarald Musum2017-11-075-41/+106
|
* Synchronize access when making copy in the right placeHarald Musum2017-11-072-3/+3
|
* Implement downloading of file references, not functional yetHarald Musum2017-11-078-109/+498
|
* Add file distribution skeleton to config proxyHarald Musum2017-11-025-74/+331
|
* Clearer log messsage when getting config failsHarald Musum2017-10-111-1/+2
|