saurabhd336 commented on code in PR #9356:
URL: https://github.com/apache/pinot/pull/9356#discussion_r981066458
##########
pinot-broker/src/main/java/org/apache/pinot/broker/routing/timeboundary/TimeBoundaryManager.java:
##########
@@ -63,6 +63,7 @@ public class TimeBoundaryManager {
private final Map<String, Long> _endTimeMsMap = new HashMap<>();
private volatile TimeBoundaryInfo _timeBoundaryInfo;
+ private volatile TimeBoundaryInfo _enforcedTimeBoundaryInfo;
Review Comment:
I figured some tricky edge cases with that which could lead to wrong time
boundaries being used especially during cases like concurrent segment refreshes
along with enforced time boundary being set / unset. This felt like the safest..
We can discuss this offline
--
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]