maytasm commented on a change in pull request #11717:
URL: https://github.com/apache/druid/pull/11717#discussion_r793170513
##########
File path:
server/src/main/java/org/apache/druid/server/coordination/SegmentLoadDropHandler.java
##########
@@ -560,6 +560,11 @@ public void removeSegment(DataSegment segment,
DataSegmentChangeCallback callbac
},
this::resolveWaitingFutures
);
+ } else if (status.get().getState() == Status.STATE.SUCCESS) {
Review comment:
If we only invalidate the cache after the second call to reload then
that call itself is a no-op right? However, since there was already a drop
before it, that call should not have been a no-op and should reload right?. In
this case we would have to do something like a load-drop-load-load to actually
reload the segment?
--
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]