rdhabalia commented on a change in pull request #4066: Allow to configure the 
managed ledger cache eviction frequency
URL: https://github.com/apache/pulsar/pull/4066#discussion_r277905990
 
 

 ##########
 File path: 
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/EntryImpl.java
 ##########
 @@ -86,6 +91,7 @@ public static EntryImpl create(PositionImpl position, 
ByteBuf data) {
 
     public static EntryImpl create(EntryImpl other) {
         EntryImpl entry = RECYCLER.get();
+        entry.timestamp = System.nanoTime();
 
 Review comment:
   `entry.timestamp = -1` while recycling..

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


With regards,
Apache Git Services

Reply via email to