Technoboy- opened a new issue #2461:
URL: https://github.com/apache/bookkeeper/issues/2461


   Question 1.
   It seems that no need to create SkipListArena in snapshot every time.
   
https://github.com/apache/bookkeeper/blob/b1e602afc93cfd6299c43f99d26c9a6b7bcd27a7/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryMemTable.java#L184
   
   Question 2.
   From the comment, we return the checkpoint of the snapshot, but it's the 
newSkipList.
   
https://github.com/apache/bookkeeper/blob/b1e602afc93cfd6299c43f99d26c9a6b7bcd27a7/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryMemTable.java#L180
   Below may be more accurate.
   ```
   cp = this.kvmap.cp;
   ```
   
   Could some help to give some ideas?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to