We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a17b3e commit 0237580Copy full SHA for 0237580
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpAddEntry.java
@@ -253,7 +253,7 @@ private void updateLatency() {
253
*/
254
private boolean checkAndCompleteOp(Object ctx) {
255
long addOpCount = (ctx instanceof Long) ? (long) ctx : -1;
256
- if (addOpCount != -1 && ADD_OP_COUNT_UPDATER.compareAndSet(this, this.addOpCount, -1)) {
+ if (addOpCount != -1 && ADD_OP_COUNT_UPDATER.compareAndSet(this, addOpCount, -1)) {
257
return true;
258
}
259
log.info("Add-entry already completed for {}-{}", ledger != null ? ledger.getId() : -1, entryId);
0 commit comments