jtuglu1 commented on code in PR #19654:
URL: https://github.com/apache/druid/pull/19654#discussion_r3689141300
##########
server/src/main/java/org/apache/druid/client/BrokerViewOfBrokerConfig.java:
##########
@@ -127,4 +128,13 @@ public Map<String, Object> getContext()
{
return resolvedDefaultQueryContext.asMap();
}
+
+ /**
+ * Captures the resolved default context and the dynamic config atomically,
so a single query resolves its context
+ * and blocklist against one consistent snapshot rather than re-reading the
live config.
+ */
+ public synchronized QueryConfigSnapshot snapshotForQuery()
Review Comment:
Yeah – I removed this.
##########
server/src/main/java/org/apache/druid/client/BrokerViewOfBrokerConfig.java:
##########
Review Comment:
Updated.
--
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]