surekhasaharan opened a new pull request #8154: Fix `is_realtime` column behavior in sys.segments table URL: https://github.com/apache/incubator-druid/pull/8154 Fixes #8142 ### Description Update the `isRealtime` flag when a segment is dropped by a realtime task. In `DruidSchema` added a check in `removeServerSegment()` when none of the replicas is a realtime server type, mark `isRealtime=0`. Added unit test. This PR has: - [x] been self-reviewed. - [x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader. - [x] added unit tests or modified existing tests to cover new code paths.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
