Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set tickTime for server and adjust client session timeout to a legal value | Harald Musum | 2021-07-10 | 1 | -1/+3 |
| | |||||
* | MInor cleanup, no functional changes | Harald Musum | 2021-05-25 | 4 | -16/+13 |
| | |||||
* | Set system property zookeeper.globalOutstandingLimit | Harald Musum | 2021-05-10 | 1 | -0/+2 |
| | |||||
* | Generate server ZK TLS config using Vespa mTLS config | Bjørn Christian Seime | 2021-04-21 | 3 | -122/+67 |
| | | | | Server ZK TLS config follows Vespa mTLS config and is no longer controlled by feature flag. | ||||
* | Another attempt at configuring secure only client port on ZK server | Bjørn Christian Seime | 2021-03-18 | 2 | -30/+23 |
| | | | | | | ZK dynamic reconfiguration logic assumes that insecure client port exists. This commit introduces a new connection factory that overrides 'secure' flag from configure() and makes the insecure client port become secure. | ||||
* | Use default metrics provider | Harald Musum | 2021-03-18 | 2 | -3/+1 |
| | |||||
* | Update tests | Harald Musum | 2021-03-17 | 1 | -6/+0 |
| | |||||
* | Set auth provider as system propertuy and use x509 as scheme | Harald Musum | 2021-03-17 | 1 | -3/+2 |
| | | | | Using config does not work, need to use system property | ||||
* | Use custom x509 authentication provider for ZK server | Bjørn Christian Seime | 2021-03-17 | 2 | -4/+12 |
| | | | | | Default provider implementation from ZK does not work in conjunction with ssl context supplier (fails on missing trust manager). | ||||
* | Remove unused parameter | Bjørn Christian Seime | 2021-03-15 | 1 | -3/+3 |
| | |||||
* | Handle client port that is configured to TLS only | Bjørn Christian Seime | 2021-03-15 | 2 | -21/+35 |
| | | | | | | The client port can no longer be distributed through the ZK dynamic reconfiguration as the protocol does not support SSL client port. The port must be configured through the static config section instead. | ||||
* | Use SSLContext supplier for ZK server configuration | Bjørn Christian Seime | 2021-03-12 | 4 | -231/+90 |
| | | | | | Remove use of keystore/truststore from disk. Only configure client secure port if TLS is enabled. | ||||
* | Simplify and stabilise test (would fail if asleep for more than 1s) | Jon Marius Venstad | 2021-03-12 | 1 | -16/+5 |
| | |||||
* | Use correct List type | Bjørn Christian Seime | 2021-03-10 | 1 | -1/+1 |
| | |||||
* | Revert "Revert "Specify TLS configuration when enabling secure ZK client"" | Bjørn Christian Seime | 2021-03-10 | 3 | -35/+58 |
| | |||||
* | Revert "Specify TLS configuration when enabling secure ZK client" | Harald Musum | 2021-03-10 | 3 | -58/+35 |
| | |||||
* | Specify TLS configuration when enabling secure ZK client | Bjørn Christian Seime | 2021-03-10 | 3 | -35/+58 |
| | | | | | Implement and use ssl context supplier class. Move helpers methods for determining enabled ciphers/protocols to supplier class. | ||||
* | Revert "Periodically reconfigure config server ZooKeeper cluster" | Martin Polden | 2021-03-01 | 3 | -81/+4 |
| | |||||
* | Ignore config with no servers | Martin Polden | 2021-02-26 | 2 | -0/+6 |
| | |||||
* | Support reconfiguration without config | Martin Polden | 2021-02-26 | 3 | -4/+75 |
| | |||||
* | Disable TLSV1.3 | Bjørn Christian Seime | 2021-02-24 | 1 | -2/+2 |
| | |||||
* | Flag service for orchestrated restart when ZK myid changes | Jon Marius Venstad | 2021-02-23 | 1 | -1/+1 |
| | |||||
* | Fix tests | Jon Marius Venstad | 2021-02-19 | 1 | -18/+24 |
| | |||||
* | Move ownership of QuorumPeer to Recoonfigurer | Jon Marius Venstad | 2021-02-19 | 3 | -12/+49 |
| | |||||
* | Die after 1 minute if no ZK-connection when constructing CC | Jon Marius Venstad | 2021-02-19 | 1 | -2/+2 |
| | |||||
* | ZK will now allow TLSv1.3 in addition to TLSv1.2 | Bjørn Christian Seime | 2021-02-18 | 1 | -2/+2 |
| | |||||
* | Merge pull request #16557 from ↵ | Jon Marius Venstad | 2021-02-17 | 2 | -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 spec | Jon Marius Venstad | 2021-02-17 | 2 | -15/+26 |
| | | |||||
* | | Merge pull request #16555 from vespa-engine/hmusum/use-list | Jon Marius Venstad | 2021-02-17 | 1 | -2/+5 |
|\ \ | |/ |/| | Use a list instead of a set, we want to keep order | ||||
| * | Add distinct() | Harald Musum | 2021-02-17 | 1 | -1/+4 |
| | | |||||
| * | Use a list instead of a set, we want to keep order | Harald Musum | 2021-02-17 | 1 | -2/+2 |
| | | |||||
* | | Print actual servers from config and reformat | Harald Musum | 2021-02-17 | 1 | -4/+4 |
| | | |||||
* | | Log active and new config before reconfiguring | Harald Musum | 2021-02-17 | 1 | -1/+3 |
|/ | |||||
* | Shutdown and die if we are going down to 1 ZooKeeper server | Harald Musum | 2021-02-16 | 1 | -0/+8 |
| | | | | Reconfiguration will not work, since the old servers will be shutdown | ||||
* | Do logAndDie in reconfigure method | Harald Musum | 2021-02-11 | 1 | -8/+8 |
| | |||||
* | Exit if reconmfiguration fails | Harald Musum | 2021-02-11 | 1 | -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. | ||||
* | Always force shutdown of non-reconfigurable ZooKeeper server | Martin Polden | 2020-12-16 | 4 | -6/+32 |
| | | | | | This basically reverts to the original behaviour, where the container is forced to exit when a new VespaZooKeeperServer component is setup. | ||||
* | Use exponential backoff for ZooKeeper restart | Martin Polden | 2020-12-15 | 4 | -29/+53 |
| | |||||
* | Shut down ZooKeeper properly | Martin Polden | 2020-12-15 | 4 | -2/+10 |
| | |||||
* | 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 |
| | |||||
* | 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 |