lhotari commented on code in PR #16996:
URL: https://github.com/apache/pulsar/pull/16996#discussion_r941067447
##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpAddEntry.java:
##########
@@ -211,13 +211,8 @@ public void safeRun() {
if (ml.hasActiveCursors()) {
// Avoid caching entries if no cursor has been created
EntryImpl entry = EntryImpl.create(ledger.getId(), entryId, data);
- // EntryCache.insert: duplicates entry by allocating new entry and
data. so, recycle entry after calling
- // insert
Review Comment:
this should be just about reverting #12258 changes to OpAddEntry.
This command will revert OpAddEntry to the state before commit 58697915
(#12558):
```
git checkout 58697915~
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpAddEntry.java
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]