You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/06 11:27:46 UTC

[GitHub] [pulsar] lhotari removed a comment on pull request #10480: [Broker] Fix race condition in invalidating ledger cache entries

lhotari removed a comment on pull request #10480:
URL: https://github.com/apache/pulsar/pull/10480#issuecomment-833439133


   It seems that here's a location in code where a "double release" can occur:
   
   https://github.com/apache/pulsar/blob/d2138f7c4a84bc4d8b1d07600af15b30b7e2416e/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java#L1205-L1242
   
   more specifically on line 1214:
   
   https://github.com/apache/pulsar/blob/d2138f7c4a84bc4d8b1d07600af15b30b7e2416e/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java#L1214
   
   and lines 1234-1237:
   
   https://github.com/apache/pulsar/blob/d2138f7c4a84bc4d8b1d07600af15b30b7e2416e/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java#L1234-L1237
   
   
   


-- 
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:
users@infra.apache.org