Remove useless code in ReplicatedMergeTreeRestartingThread#36113
Remove useless code in ReplicatedMergeTreeRestartingThread#36113
Conversation
|
It's not really useless, it makes sense, for example, if zk client started new session due to operation timeout (default is 10 seconds) and ephemeral node from previous session still exists (default session timeout is 30 seconds). It's highly unlikely that some replica will remove
Maybe we should add hostname to random seed (to avoid collisions when multiple servers start simultaneously). |
|
+ agree. Waiting ephemeral node to disappear looks to be more safe. |
|
Could you please takeover this branch? |
|
Stateful tests (address, actions) - |
|
Many integration tests failed with and cluster.py from repository. So it's some race condition in CI infrastructure, сс: @Felixoid.Btw, why do we put all compose-files into integration-tests-runner image?
Stress test - Backward compatibility check - |
|
Please, rebase it on / merge master into the branch, please. It's the easiest way to have the issue fixed for now.
Can't really say, didn't dig into them yet. |
|
@Mergifyio update |
✅ Branch has been successfully updated |
|
Tests will fail anyway because of the bug in Keeper described above |
|
@Mergifyio update |
✅ Branch has been successfully updated |
|
Related: #37824 |
|
And now it makes sense to merge with master and restart tests |
|
@Mergifyio update |
✅ Branch has been successfully updated |
Changelog category (leave one):
The code from 2015 is no longer relevant, because session restore is impossible in our ZooKeeper client.