Jason Fehr has posted comments on this change. ( https://gerrit.cloudera.org/25364 )
Change subject: IMPALA-15612: Keep root user loads current between statestore updates ...................................................................... Patch Set 3: Code-Review+1 (1 comment) https://gerrit.cloudera.org/#/c/25364/3/be/src/scheduling/admission-controller.cc File be/src/scheduling/admission-controller.cc: https://gerrit.cloudera.org/#/c/25364/3/be/src/scheduling/admission-controller.cc@2334 PS3, Line 2334: #ifndef NDEBUG : // Between statestore updates root_agg_user_loads_ is maintained incrementally by : // PoolStats::IncrementPerUser() and PoolStats::DecrementPerUser(), so it must still : // equal the sum of the per-pool aggregates before they are recomputed below. : AggregatedUserLoads expected_root_loads; : for (auto& entry : pool_stats_) { : expected_root_loads.add_loads( : entry.second.get_aggregated_user_loads().get_user_loads()); : } : DCHECK(expected_root_loads.get_user_loads() == root_agg_user_loads_.get_user_loads()) : << "expected: " << expected_root_loads.DebugString() : << " actual: " << root_agg_user_loads_.DebugString(); : #endif > Yes, I ran all three locally. The unit test passes under ASAN, TSAN and UBS Thanks! -- To view, visit https://gerrit.cloudera.org/25364 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ia1461f24762d5aa7e0f23991eea5a25da604a1d9 Gerrit-Change-Number: 25364 Gerrit-PatchSet: 3 Gerrit-Owner: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Gokul Kolady <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Mon, 23 Nov 2026 23:53:15 +0000 Gerrit-HasComments: Yes
