zqr10159 opened a new pull request, #4285: URL: https://github.com/apache/hertzbeat/pull/4285
## Summary - use a fixed set of lock stripes for alert fingerprint and group-key persistence - keep equal keys serialized without retaining lock state per distinct key - add a contract for stable equal-key mapping and bounded lock cardinality ## Validation - `./mvnw -pl hertzbeat-alerter -am -Dtest=DbAlertStoreHandlerImplTest test -DskipITs -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false` - `git diff --cached --check` AI assistance: used for draft implementation and test iteration. Human validation: the focused Maven reactor completed successfully; all 4 database alert-store tests passed and Checkstyle reported no violations. Risk notes: unrelated keys that map to the same one of 256 stripes serialize temporarily; persistence behavior and equal-key mutual exclusion are unchanged. -- 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]
