You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "rishabh-src (via GitHub)" <gi...@apache.org> on 2024/04/03 21:08:28 UTC
Re: [PR] ZOOKEEPER-4766: Avoid unnecessary snapshots during leader election [zookeeper]
rishabh-src commented on code in PR #2153:
URL: https://github.com/apache/zookeeper/pull/2153#discussion_r1550500525
##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java:
##########
@@ -546,7 +554,9 @@ public void loadData() throws IOException, InterruptedException {
.forEach(session -> killSession(session, zkDb.getDataTreeLastProcessedZxid()));
// Make a clean snapshot
Review Comment:
Sounds good, added a comment 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org