Yida Wu has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23760
Change subject: IMPALA-14612: Add global metrics for admission state map size ...................................................................... IMPALA-14612: Add global metrics for admission state map size We need better observability for the admission state map to warn about potential memory leaks. We have observed cases where admission state entries were not released, causing memory leaks in admissiond. Adds the metric admission-control-service.admission-state-map-size to track the number of active entries. To ensure accuracy, the metric is updated by syncing with the actual map count after any add or delete operation. Tests: Updated and passed test_admission_state_map_mem_leak to verify the metrics. Change-Id: Ie803aabf8d91b6381c5d0d7534cd9c9fc2166a73 --- M be/src/scheduling/admission-control-service.cc M be/src/scheduling/admission-control-service.h M common/thrift/metrics.json M tests/custom_cluster/test_admission_controller.py 4 files changed, 36 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/23760/1 -- To view, visit http://gerrit.cloudera.org:8080/23760 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie803aabf8d91b6381c5d0d7534cd9c9fc2166a73 Gerrit-Change-Number: 23760 Gerrit-PatchSet: 1 Gerrit-Owner: Yida Wu <[email protected]>
