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

   ## Summary
   - Make scale-policy updates transactional.
   - Defer cache activation and scaling until after commit; rolled-back updates 
no longer alter the active cache or launch scaling actions.
   - Keep the no-transaction fallback for direct non-proxied callers.
   - Add H2 tests for outer rollback, visibility from a separate connection 
during activation, zero-row updates and post-commit external failures.
   
   Fixes #6625
   
   ## Validation
   - `./mvnw -pl shenyu-admin -am -DskipTests=false -Dcheckstyle.skip=false 
-Dtest=ScalePolicyTransactionTest -DfailIfNoTests=false test` (Java 17): 
passed, including Checkstyle.
   
   External scaling is not a distributed transaction: a scaling failure after 
commit leaves the persisted desired policy available for reconciliation and is 
propagated to the caller. The separate partial-cache-payload issue #6624 is 
handled by #7193; this PR only changes transaction timing.
   


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