navina commented on code in PR #9424:
URL: https://github.com/apache/pinot/pull/9424#discussion_r973933537
##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/LLRealtimeSegmentDataManager.java:
##########
@@ -288,7 +285,7 @@ public void deleteSegmentFile() {
private final SegmentCommitterFactory _segmentCommitterFactory;
private final ConsumptionRateLimiter _rateLimiter;
- private volatile StreamPartitionMsgOffset _latestStreamOffsetAtStartupTime =
null;
+ private final StreamPartitionMsgOffset _latestStreamOffsetAtStartupTime;
Review Comment:
nope. It is set once during startup of the `LLRealtimeSegmentDataManager`.
After that, it is only read from.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]