yyqdbngt opened a new pull request, #3446: URL: https://github.com/apache/rocketmq-dashboard/pull/3446
### Summary `MybatisPlusAlertCollectionLease` coordinates collection replicas: `tryAcquire` first runs a conditional SQL acquire and inserts a row on a miss, while a malformed lease duration falls back to one minute. The suite only covered `renew`. ### Changes - A successful conditional acquire returns `true` - A missed acquire inserts a holder row (correct lease name + non-blank holder id) and reports success - A duplicate-key insert race reports lease loss - A malformed lease duration still works and expires the inserted row roughly one minute out ### Testing `mvn test -Dtest=MybatisPlusAlertCollectionLeaseTest` passes: 6 tests, 0 failures (up from 2). -- 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]
