zqr10159 opened a new pull request, #4289: URL: https://github.com/apache/hertzbeat/pull/4289
## Summary - keep the VictoriaMetrics cluster periodic flush on one recurring task - coalesce repeated immediate flush requests into at most one pending task - ensure immediate flushes drain once without creating additional periodic chains - add a repeated-trigger scheduling contract ## Validation `./mvnw -pl hertzbeat-warehouse -am -Dtest=VictoriaMetricsClusterDataStorageTest,VictoriaMetricsDataStorageTest test -DskipITs -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false` AI assistance: used for draft implementation and test iteration. Human validation: focused VictoriaMetrics storage tests passed (5 tests); Checkstyle and diff checks passed. Risk notes: periodic flush timing remains unchanged; repeated immediate requests are coalesced while one immediate flush is pending or running. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
