Caideyipi opened a new pull request, #19071: URL: https://github.com/apache/iotdb/pull/19071
## Description ConfigRegion sources register their metrics using `pipeName_regionId_creationTime`, but the remaining-event query omits the region ID and returns zero even when a registered source has pending events. Include the ConfigRegion runtime ID in the lookup key. Extend the existing metrics restart regression to check a nonzero backlog, live count changes across a metric service restart, pipe/creation-time isolation, and deregistration. ## Validation - Rebuilt the required module dependency closure from source. - Confirmed that the regression fails against the original implementation: expected backlog `7`, actual `0`. - `PipeConfigNodeMetricsRestartTest`: 4 tests passed, 0 skipped with the fix. - `mvn spotless:apply -P with-integration-tests -pl iotdb-core/confignode` - `git diff --check` Independent self-review is pending; this PR is intentionally Draft. - [x] Added or updated unit tests to cover the changed behavior. -- 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]
