summaryrefslogtreecommitdiffstats
path: root/zookeeper-server
Commit message (Collapse)AuthorAgeFilesLines
* Fix logger and maintainer namesHarald Musum2021-02-261-2/+1
|
* Disable TLSV1.3Bjørn Christian Seime2021-02-241-2/+2
|
* Flag service for orchestrated restart when ZK myid changesJon Marius Venstad2021-02-231-1/+1
|
* Fix testsJon Marius Venstad2021-02-191-18/+24
|
* Move ownership of QuorumPeer to RecoonfigurerJon Marius Venstad2021-02-196-23/+69
|
* Die after 1 minute if no ZK-connection when constructing CCJon Marius Venstad2021-02-191-2/+2
|
* Merge pull request #16585 from ↵Jon Marius Venstad2021-02-191-1/+8
|\ | | | | | | | | vespa-engine/hmusum/die-if-zookeeper-shutdown-takes-too-long Die if waiting for shutdown takes longer than 1 minute, and log when …
| * Die if waiting for shutdown takes longer than 1 minute, and log when ↵Harald Musum2021-02-191-1/+8
| | | | | | | | shutting down server
* | ZK will now allow TLSv1.3 in addition to TLSv1.2Bjørn Christian Seime2021-02-181-2/+2
|/
* Merge pull request #16557 from ↵Jon Marius Venstad2021-02-172-15/+26
|\ | | | | | | | | vespa-engine/jonmv/properly-detect-leaving-zk-servers Properly detect leaving ZK servers by comparing full spec
| * Properly detect leaving ZK servers by comparing full specJon Marius Venstad2021-02-172-15/+26
| |
* | Merge pull request #16555 from vespa-engine/hmusum/use-listJon Marius Venstad2021-02-171-2/+5
|\ \ | |/ |/| Use a list instead of a set, we want to keep order
| * Add distinct()Harald Musum2021-02-171-1/+4
| |
| * Use a list instead of a set, we want to keep orderHarald Musum2021-02-171-2/+2
| |
* | Print actual servers from config and reformatHarald Musum2021-02-171-4/+4
| |
* | Log active and new config before reconfiguringHarald Musum2021-02-171-1/+3
|/
* Shutdown and die if we are going down to 1 ZooKeeper serverHarald Musum2021-02-161-0/+8
| | | | Reconfiguration will not work, since the old servers will be shutdown
* Do logAndDie in reconfigure methodHarald Musum2021-02-111-8/+8
|
* Exit if reconmfiguration failsHarald Musum2021-02-111-4/+11
| | | | | | | | | When going from 2 to 1 zookeeper servers (after going from 1 to 2 nodes because a node is about to be retired), reconfiguration will fail if the second node is removed before reconfiguration has happened. Reconfiguration will never work in these cases, since 2 nodes is needed to have ZooKeepere quorum. Just exit if this happens, new config will be used in this case and ZooKeeper should work fine again.
* Revert "Revert "Remove support for ZooKeeper server 3.5.6 [run-systemtest]""Harald Musum2021-01-298-264/+0
|
* Revert "Remove support for ZooKeeper server 3.5.6 [run-systemtest]"Harald Musum2021-01-298-0/+264
|
* Remove support for ZooKeeper server 3.5.6Harald Musum2021-01-298-264/+0
|
* Use version 3.6.2 as default version for ZooKeeper serverHarald Musum2021-01-212-4/+2
|
* Patch NetUtils so it will use hostname if it existsHarald Musum2021-01-141-1/+6
| | | | | | | In some environments we have Docker containers where we have internal IP addresses (e.g. 172.x.x.x) that are only valid inside the container. This change makes sure that we use hostname instead of theses addresses when possible.
* Import from ZooKeeper branch branch-3.6Harald Musum2021-01-141-0/+88
|
* 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