heguanhui opened a new pull request, #58946:
URL: https://github.com/apache/doris/pull/58946

   [improvement] (deitlog) Skip edit log writing when global variable value 
unchanged
   
   Avoid unnecessary edit log writes when setting global variable to the same 
value. This reduces disk I/O and prevents edit log bloat.
   
   The optimization adds a value comparison check before setting the variable 
and writing edit log, maintaining thread safety under existing wlock.
   
   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
   
   - Behavior changed:
       - [ ] No.
   
   - Does this need documentation?
       - [ ] No.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to