yuluo-yx opened a new issue, #2913:
URL: https://github.com/apache/rocketmq-dashboard/issues/2913

   MybatisPlusMetricSnapshotRepository.saveAll inserts samples one by one 
without a transaction. If a later insert fails, earlier rows remain committed 
even though collection processing reports a failure. This leaves an incomplete 
snapshot batch that later alert evaluation can read.
   
   Reproduction:
   1. Save a batch containing multiple metric samples.
   2. Make the mapper fail on a later insert.
   
   Actual: earlier inserts can remain persisted.
   Expected: saveAll should run in one transaction so the entire sample batch 
commits or rolls back together.


-- 
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]

Reply via email to