Github user lvfangmin commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/447#discussion_r161296695
--- Diff: src/java/main/org/apache/zookeeper/server/SessionTrackerImpl.java
---
@@ -280,6 +278,12 @@ public synchronized boolean addSession(long id, int
sessionTimeout) {
return added;
}
+ public synchronized boolean commitSession(long id, int sessionTimeout)
{
--- End diff --
Yes, that's kind of commit changes to ZkDB, like the usual txns commit to
DataTree in ZkDB.
---