123123213weqw opened a new pull request, #2024:
URL: https://github.com/apache/rocketmq-dashboard/pull/2024

   ## What is the purpose of the change
   
   Fix #2009.
   
   The NameServer configuration drift page started an instance bootstrap chain 
on mount (load instances, select the first Apache instance, load its clusters, 
run the first drift check). Only interactive instance changes were guarded by 
requestSequence; the bootstrap chain did not validate a sequence before writing 
clusters, selectedClusterId or starting runCheck. A late bootstrap response 
could overwrite the result of a newer interactive selection.
   
   ## Brief changelog
   
   - nameServerConfigDrift.tsx: the bootstrap effect now captures its own 
sequence and skips all state writes if a newer interaction bumped the sequence
   
   ## How was this patch verified
   
   - npx vitest run src/pages/ops/__tests__/NameServerConfigDriftPage.test.tsx 
(6 passed)
   - npx tsc -b clean
   - npx eslint . clean
   


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