coderzc commented on code in PR #21248:
URL: https://github.com/apache/pulsar/pull/21248#discussion_r1338332354
##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java:
##########
@@ -3628,23 +3628,33 @@ public PositionImpl getPreviousPosition(PositionImpl
position) {
* @return true if the position is valid, false otherwise
*/
public boolean isValidPosition(PositionImpl position) {
- PositionImpl last = lastConfirmedEntry;
+ if (name.contains("tp")) {
+ log.info("===> isValidPosition: {}", position);
+ }
Review Comment:
This seems unnecessary
--
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]