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

   Fixes #5580
   
   ## Summary
   
   WebSocket namespace snapshots currently remove cached plugin, selector, and 
rule entries before applying the replacement rows. Requests arriving during 
that interval can observe a missing cache entry.
   
   - Apply rows still present in each snapshot before removing stale rows from 
that namespace.
   - Keep existing entries available while their replacements are being 
applied, and remove rows absent from the authoritative snapshot, including for 
empty snapshots.
   - Preserve cached rows from other namespaces.
   
   ## Verification
   
   - `./mvnw -B -ntp -pl 
shenyu-plugin/shenyu-plugin-base,shenyu-sync-data-center/shenyu-sync-data-websocket
 -am -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true test`
   - `./mvnw -B -ntp -pl 
shenyu-plugin/shenyu-plugin-base,shenyu-sync-data-center/shenyu-sync-data-websocket
 -am -DskipTests -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true 
checkstyle:check`
   - `git diff --check`
   


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