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 2019/10/05 04:06:06 UTC
[GitHub] [pulsar] merlimat commented on a change in pull request #5322: Fix
bk write failure part 2
merlimat commented on a change in pull request #5322: Fix bk write failure part 2
URL: https://github.com/apache/pulsar/pull/5322#discussion_r331731580
##########
File path: managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
##########
@@ -580,14 +585,6 @@ private synchronized void internalAsyncAddEntry(OpAddEntry addOperation) {
log.debug("[{}] Queue addEntry request", name);
}
} else if (state == State.ClosedLedger) {
- long now = clock.millis();
- if (now < lastLedgerCreationFailureTimestamp + WaitTimeAfterLedgerCreationFailureMs) {
Review comment:
`WaitTimeAfterLedgerCreationFailureMs` can be removed as a constant
----------------------------------------------------------------
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
With regards,
Apache Git Services