Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always force shutdown of non-reconfigurable ZooKeeper server | Martin Polden | 2020-12-16 | 8 | -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 shutdown | Martin Polden | 2020-12-15 | 2 | -2/+4 |
| | |||||
* | Merge pull request #15825 from vespa-engine/mpolden/set-peer-first | Martin Polden | 2020-12-15 | 2 | -2/+2 |
|\ | | | | | Ensure that peer is set before calling start | ||||
| * | Ensure that peer is set before calling start | Martin Polden | 2020-12-15 | 2 | -2/+2 |
| | | |||||
* | | Use Process.logAndDie | Martin Polden | 2020-12-15 | 2 | -12/+4 |
|/ | |||||
* | Use exponential backoff for ZooKeeper restart | Martin Polden | 2020-12-15 | 4 | -29/+53 |
| | |||||
* | Shut down ZooKeeper properly | Martin Polden | 2020-12-15 | 12 | -80/+158 |
| | |||||
* | Never attempt to start again after executor has shut down | Martin Polden | 2020-12-14 | 1 | -1/+1 |
| | |||||
* | Log when triggering shutdown | Martin Polden | 2020-12-14 | 1 | -2/+5 |
| | |||||
* | Log exception | Harald Musum | 2020-12-14 | 1 | -1/+1 |
| | |||||
* | Log time left on reconfig failure | Martin Polden | 2020-12-13 | 1 | -3/+7 |
| | |||||
* | Adjust total timeout according to joining servers | Martin Polden | 2020-12-13 | 1 | -3/+12 |
| | |||||
* | Prevent tests from blocking until shutdown timeout | Martin Polden | 2020-12-13 | 3 | -53/+52 |
| | |||||
* | Remove unnecessary zookeeper.server.version property | Martin Polden | 2020-12-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #15791 from vespa-engine/mpolden/joining-servers | Martin Polden | 2020-12-11 | 2 | -56/+71 |
|\ | | | | | Make joining server an observer in initial config | ||||
| * | Make joining server an observer in initial config | Martin Polden | 2020-12-11 | 2 | -10/+20 |
| | | |||||
| * | Clean up test | Martin Polden | 2020-12-10 | 1 | -47/+52 |
| | | |||||
* | | Remove duplicate log message now that we retry if starting fails | Harald Musum | 2020-12-11 | 1 | -1/+0 |
| | | |||||
* | | Retry start of zookeeper server | Harald Musum | 2020-12-10 | 1 | -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 dependencies | Harald Musum | 2020-12-09 | 1 | -0/+3 |
| | |||||
* | 2 hacks to be able to use ZooKeeper server 3.6 | Harald Musum | 2020-12-09 | 4 | -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 fails | Harald Musum | 2020-12-09 | 1 | -1/+5 |
| | |||||
* | Revert "Set reconfigEnabled based on config value" | Harald Musum | 2020-12-09 | 2 | -3/+1 |
| | |||||
* | Set reconfigEnabled based on config value | Harald Musum | 2020-12-09 | 2 | -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 Musum | 2020-12-08 | 10 | -3/+228 |
|\ | | | | | | | | | vespa-engine/hmusum/add-support-for-zookeeper-server-3.6.2 Add support for ZooKeeper server 3.6.2 | ||||
| * | Add @author | Harald Musum | 2020-12-08 | 5 | -1/+11 |
| | | |||||
| * | Add support for ZooKeeper server 3.6.2 | Harald Musum | 2020-12-08 | 9 | -2/+222 |
| | | |||||
* | | Add missing author | Martin Polden | 2020-12-08 | 2 | -0/+5 |
| | | |||||
* | | Use exponential backoff for reconfig retries | Martin Polden | 2020-12-08 | 3 | -22/+89 |
|/ | | | | | Combined with connecting to localhost this should reduce the time it takes for all nodes to complete reconfig. | ||||
* | Inline watcher and rename class | Harald Musum | 2020-12-08 | 5 | -33/+15 |
| | |||||
* | Minor fixes | Harald Musum | 2020-12-07 | 6 | -10/+12 |
| | |||||
* | Move more code to zookeeper-server-common | Harald Musum | 2020-12-07 | 6 | -46/+30 |
| | |||||
* | Refactor to prepare for mving more code to zokeeper-server-common | Harald Musum | 2020-12-07 | 8 | -36/+95 |
| | |||||
* | Retry on NewConfigNoQuorum | Harald Musum | 2020-12-07 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' into hmusum/refactor-reconfigurer | Harald Musum | 2020-12-07 | 2 | -8/+9 |
|\ | |||||
| * | Connect to localhost when reconfiguring | Martin Polden | 2020-12-07 | 2 | -8/+12 |
| | | |||||
* | | Merge branch 'master' into hmusum/refactor-reconfigurer | Harald Musum | 2020-12-07 | 1 | -4/+3 |
|\| | |||||
| * | Retry on NewConfigNoQuorum | Martin Polden | 2020-12-07 | 1 | -1/+2 |
| | | |||||
| * | Simplify | Martin Polden | 2020-12-07 | 1 | -4/+3 |
| | | |||||
* | | Split out a ZKAdmin interface and implement it | Harald Musum | 2020-12-07 | 6 | -70/+157 |
|/ | |||||
* | Remove support for 3.5.8, not used | Harald Musum | 2020-12-07 | 5 | -141/+0 |
| | |||||
* | Stop using deprecated clientPort statement | Martin Polden | 2020-12-06 | 2 | -12/+20 |
| | |||||
* | Retry reconfig on ConnectionLoss | Martin Polden | 2020-12-06 | 1 | -3/+9 |
| | |||||
* | Avoid every node triggering reconfig at the same time | Martin Polden | 2020-12-06 | 1 | -8/+23 |
| | |||||
* | Log event | Martin Polden | 2020-12-04 | 1 | -3/+3 |
| | |||||
* | Use a no-op watcher | Martin Polden | 2020-12-04 | 1 | -1/+12 |
| | |||||
* | Log the total time taken to reconfigure | Martin Polden | 2020-12-04 | 2 | -7/+11 |
| | |||||
* | Implement suggestions from review (sleeper, more logging, sleep shorter) | Harald Musum | 2020-12-04 | 2 | -9/+26 |
| | |||||
* | Split out constant | Harald Musum | 2020-12-04 | 1 | -2/+3 |
| | |||||
* | Retry reconfiguration if another one is in progress | Harald Musum | 2020-12-04 | 2 | -7/+59 |
| |