maytasm commented on a change in pull request #11426:
URL: https://github.com/apache/druid/pull/11426#discussion_r666816914
##########
File path:
server/src/main/java/org/apache/druid/server/coordinator/duty/CompactSegments.java
##########
@@ -213,11 +212,11 @@ public DruidCoordinatorRuntimeParams
run(DruidCoordinatorRuntimeParams params)
}
} else {
LOG.info("compactionConfig is empty. Skip.");
-
updateAutoCompactionSnapshotWhenNoCompactTaskScheduled(currentRunAutoCompactionSnapshotBuilders);
+ autoCompactionSnapshotPerDataSource.set(new HashMap<>());
Review comment:
This API is used by the console to show the status info. The UI can
already handle when one of the datasource does not have an entry in the map
returned by this API. (This is for cases such as the datasource never has auto
compaction enabled or auto compaction was previously enabled but is now
disabled). Hence, no change in UI is needed.
--
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]