Renkai commented on a change in pull request #9202:
URL: https://github.com/apache/pulsar/pull/9202#discussion_r569174326



##########
File path: 
tiered-storage/jcloud/src/main/java/org/apache/bookkeeper/mledger/offload/jcloud/impl/BlobStoreManagedLedgerOffloader.java
##########
@@ -94,7 +94,7 @@
     final private long maxBufferLength;
     final private ConcurrentLinkedQueue<Entry> offloadBuffer = new 
ConcurrentLinkedQueue<>();
     private CompletableFuture<OffloadResult> offloadResult;
-    private volatile PositionImpl lastOfferedPosition = PositionImpl.latest;
+    private volatile PositionImpl lastOfferedPosition = PositionImpl.earliest;

Review comment:
       This field is introduced at https://github.com/apache/pulsar/pull/9096, 
but actually first used here, in actual usage, the original value will not be 
used, I just initialize it here with a make sense value to avoid the compiler 
warning.




----------------------------------------------------------------
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:
[email protected]


Reply via email to