summaryrefslogtreecommitdiffstats
path: root/zookeeper-server
Commit message (Collapse)AuthorAgeFilesLines
* Always force shutdown of non-reconfigurable ZooKeeper serverMartin Polden2020-12-168-6/+52
| | | | | This basically reverts to the original behaviour, where the container is forced to exit when a new VespaZooKeeperServer component is setup.
* Wait for quorum peer thread on shutdownMartin Polden2020-12-152-2/+4
|
* Merge pull request #15825 from vespa-engine/mpolden/set-peer-firstMartin Polden2020-12-152-2/+2
|\ | | | | Ensure that peer is set before calling start
| * Ensure that peer is set before calling startMartin Polden2020-12-152-2/+2
| |
* | Use Process.logAndDieMartin Polden2020-12-152-12/+4
|/
* Use exponential backoff for ZooKeeper restartMartin Polden2020-12-154-29/+53
|
* Shut down ZooKeeper properlyMartin Polden2020-12-1512-80/+158
|
* Never attempt to start again after executor has shut downMartin Polden2020-12-141-1/+1
|
* Log when triggering shutdownMartin Polden2020-12-141-2/+5
|
* Log exceptionHarald Musum2020-12-141-1/+1
|
* Log time left on reconfig failureMartin Polden2020-12-131-3/+7
|
* Adjust total timeout according to joining serversMartin Polden2020-12-131-3/+12
|
* Prevent tests from blocking until shutdown timeoutMartin Polden2020-12-133-53/+52
|
* Remove unnecessary zookeeper.server.version propertyMartin Polden2020-12-111-1/+1
|
* Merge pull request #15791 from vespa-engine/mpolden/joining-serversMartin Polden2020-12-112-56/+71
|\ | | | | Make joining server an observer in initial config
| * Make joining server an observer in initial configMartin Polden2020-12-112-10/+20
| |
| * Clean up testMartin Polden2020-12-101-47/+52
| |
* | Remove duplicate log message now that we retry if starting failsHarald Musum2020-12-111-1/+0
| |
* | Retry start of zookeeper serverHarald Musum2020-12-101-6/+24
|/ | | | | An already running server may take som time to shut down, starting a new one might fail in that case so we need to retry
* Add comment about reason for dependenciesHarald Musum2020-12-091-0/+3
|
* 2 hacks to be able to use ZooKeeper server 3.6Harald Musum2020-12-094-2/+24
| | | | | | | | | | | Explicitly depend on io.dropwizard.metrics and org.xerial.snappy since they are used by metrics provider (even NullMetricsProvider) when bootstrapping ServerMetrics in zookeeper code and cannot be found when runnin in a container Do some class loadin trick to circumvent zookeeper itself loading a class with the threads current class loader, which does not work well in a container
* Log error when starting ZooKeeper server failsHarald Musum2020-12-091-1/+5
|
* Revert "Set reconfigEnabled based on config value"Harald Musum2020-12-092-3/+1
|
* Set reconfigEnabled based on config valueHarald Musum2020-12-092-1/+3
| | | | | | Seeing issues with this for clustercontrollers when cluster grows or shrinks, so set reconfigEnabled to true only when config says we should use it
* Merge pull request #15735 from ↵Harald Musum2020-12-0810-3/+228
|\ | | | | | | | | vespa-engine/hmusum/add-support-for-zookeeper-server-3.6.2 Add support for ZooKeeper server 3.6.2
| * Add @authorHarald Musum2020-12-085-1/+11
| |
| * Add support for ZooKeeper server 3.6.2Harald Musum2020-12-089-2/+222
| |
* | Add missing authorMartin Polden2020-12-082-0/+5
| |
* | Use exponential backoff for reconfig retriesMartin Polden2020-12-083-22/+89
|/ | | | | Combined with connecting to localhost this should reduce the time it takes for all nodes to complete reconfig.
* Inline watcher and rename classHarald Musum2020-12-085-33/+15
|
* Minor fixesHarald Musum2020-12-076-10/+12
|
* Move more code to zookeeper-server-commonHarald Musum2020-12-076-46/+30
|
* Refactor to prepare for mving more code to zokeeper-server-commonHarald Musum2020-12-078-36/+95
|
* Retry on NewConfigNoQuorumHarald Musum2020-12-071-1/+2
|
* Merge branch 'master' into hmusum/refactor-reconfigurerHarald Musum2020-12-072-8/+9
|\
| * Connect to localhost when reconfiguringMartin Polden2020-12-072-8/+12
| |
* | Merge branch 'master' into hmusum/refactor-reconfigurerHarald Musum2020-12-071-4/+3
|\|
| * Retry on NewConfigNoQuorumMartin Polden2020-12-071-1/+2
| |
| * SimplifyMartin Polden2020-12-071-4/+3
| |
* | Split out a ZKAdmin interface and implement itHarald Musum2020-12-076-70/+157
|/
* Remove support for 3.5.8, not usedHarald Musum2020-12-075-141/+0
|
* Stop using deprecated clientPort statementMartin Polden2020-12-062-12/+20
|
* Retry reconfig on ConnectionLossMartin Polden2020-12-061-3/+9
|
* Avoid every node triggering reconfig at the same timeMartin Polden2020-12-061-8/+23
|
* Log eventMartin Polden2020-12-041-3/+3
|
* Use a no-op watcherMartin Polden2020-12-041-1/+12
|
* Log the total time taken to reconfigureMartin Polden2020-12-042-7/+11
|
* Implement suggestions from review (sleeper, more logging, sleep shorter)Harald Musum2020-12-042-9/+26
|
* Split out constantHarald Musum2020-12-041-2/+3
|
* Retry reconfiguration if another one is in progressHarald Musum2020-12-042-7/+59
|