jt2594838 opened a new pull request, #18460: URL: https://github.com/apache/iotdb/pull/18460
## Description\n\nFix the vg_series_points_num flushing metric so each sample is recorded in the histogram for its own DataRegion instead of the last-created DataRegion.\n\nThe node-wide average used by TVList preallocation is maintained separately from the per-Region monitoring histograms, preserving the existing optimization without coupling it to metric registration order or lifecycle.\n\n## Changes\n\n- Record flushing average series point samples with the current DataRegion tag.\n- Maintain a process-lifetime node-wide average for TVList array preallocation.\n- Add a regression test covering independent histogram samples for two DataRegions.\n\n## Tests\n\n- mvn spotless:apply -pl iotdb-core/datanode\n- mvn test -pl iotdb-core/datanode -Dtest=WritingMetricsTest -DfailIfNoTests=false\n -- 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]
