Add comment

This commit is contained in:
alesapin 2021-09-02 14:54:32 +03:00
parent c5470864e8
commit 010985ce87

View File

@ -1078,6 +1078,7 @@ KeeperStorage::ResponsesForSessions KeeperStorage::processRequest(const Coordina
zxid = *new_last_zxid;
}
/// ZooKeeper update sessions expirity for each request, not only for heartbeats
session_expiry_queue.addNewSessionOrUpdate(session_id, session_and_timeout[session_id]);
if (zk_request->getOpNum() == Coordination::OpNum::Close) /// Close request is special