Caideyipi opened a new pull request, #19082: URL: https://github.com/apache/iotdb/pull/19082
Backport #19071 (`af225846393dfc0da265afa80a3bb37f98e85ef0`) to `dev/1.3`, based on `7f6e63f726fff9cfd4a112d80a5f6930192abb27`. ConfigRegion sources register under `pipeName_regionId_creationTime`; include the region ID in the remaining-event lookup so registered sources report their pending events. Split global remaining-event and remaining-time metric IDs at the final underscore to preserve complete pipe names and independent creation-time tags when creating and removing gauges. Use the existing `ConfigNodeInfo.CONFIG_REGION_ID` constant on this branch. The backport also includes the two affected metric classes' registration-preserving unbind and synchronization changes from #18748 (`b2cc8b521262aec0993d3d223b59502904031c82`), which are required to retain the source regression scenarios across metric-service restarts. Port the affected lookup and underscore-name scenarios with their assertions, plus the plain-name coordinator restart baseline. Validation: - Built the matching TsFile version from source, then rebuilt the 27-module ConfigNode dependency closure from clean source using an isolated Maven repository with build caches disabled. - `PipeConfigNodeMetricsRestartTest`: 3 tests passed, 0 failures, 0 errors, 0 skipped. - `mvn spotless:apply -P with-integration-tests -pl iotdb-core/confignode` passed. - `git diff --check` passed. The focused build used JDK 17 and the English locale. Integration tests and distribution assembly were excluded; Checkstyle, RAT, Enforcer, and dependency analysis were skipped. -- 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]
