Riza Suminto has posted comments on this change. ( http://gerrit.cloudera.org:8080/23094 )
Change subject: IMPALA-12057: Track removed coordinators to reject queued queries early ...................................................................... Patch Set 10: (1 comment) http://gerrit.cloudera.org:8080/#/c/23094/10/be/src/scheduling/cluster-membership-mgr.cc File be/src/scheduling/cluster-membership-mgr.cc: http://gerrit.cloudera.org:8080/#/c/23094/10/be/src/scheduling/cluster-membership-mgr.cc@205 PS10, Line 205: if (state->removed_coordinators_map.size() > MAX_REMOVED_COORD_SIZE) { : const string& oldest = state->removed_coordinators_order.front(); : state->removed_coordinators_map.erase(oldest); : state->removed_coordinators_order.pop_front(); > Thanks for the suggestion. Riza also mentioned a similar TTL-based approach 1000 is probably too much for list of strings. Have you consider adding backend flag to tune it? lower the default value perhaps? -- To view, visit http://gerrit.cloudera.org:8080/23094 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I1e0f270299f8c20975d7895c17f4e2791c3360e0 Gerrit-Change-Number: 23094 Gerrit-PatchSet: 10 Gerrit-Owner: Yida Wu <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Thu, 10 Jul 2025 20:16:26 +0000 Gerrit-HasComments: Yes
