Hello ZK Community! Tagging some friends in the community for starting the conversation. * @Enrico Olivelli <eolive...@apache.org> from bookkeeper and pulsar who might have more context. * Yan Zhao who brought up very good concerns.
Yan Zhao thinks it's a good idea to implement this, however has concerns <https://github.com/apache/zookeeper/pull/2153#discussion_r1581839692> that if we give up taking a snapshot, the current session info may not persist and hence the session data may not be accurate during the next restart. Rishabh (the developer of this feature request) asks: > is this session info used for something upon restart that is necessary for correctness? Is it mainly important for telemetry? If it is not needed for correctness could skipping this snapshotting step during leader election be made a configurable option? As per my knowledge, If session info is not persisted, sessions will be lost upon restart. This means all ephemeral nodes associated with those sessions will be lost, leading to potential inconsistencies. Hoping to open this up for consideration with the community. We can use advice on how to make this change happen as it will greatly improve the leader election times for some of our large scale clusters. Thanks, Anup