dengliming opened a new pull request, #7248:
URL: https://github.com/apache/shenyu/pull/7248

   ## Summary
   - Add a transaction boundary to dictionary import so a later insert failure 
rolls back earlier dictionary rows.
   - Keep synchronous dict-created audit logging in the same transaction; 
failed imports no longer leave committed audit entries for rolled-back rows.
   - Add H2 integration tests covering a second-row uniqueness violation and a 
successful two-row import, checking both dictionary and audit tables.
   
   Fixes #6697
   
   ## Validation
   - `./mvnw -pl shenyu-admin -am -DskipTests=false -Dcheckstyle.skip=false 
-Dtest=ShenyuDictServiceTest,DictImportIntegrationTest -DfailIfNoTests=false 
test` (Java 17): passed, including Checkstyle.
   


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