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

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #62449, #62416
   
   Problem Summary:
   
   After `ALTER JOB` changes a streaming job's source/target properties,
   `StreamingInsertJob.replayOnUpdated()` did not propagate `sourceProperties`
   and `targetProperties` from the replay job to the in-memory job.
   
   The checkpoint thread replays journals on its own `Env`, so the generated
   image also lost the ALTERed values — any subsequent FE restart (from image
   or EditLog) would revert to the original CREATE-time properties. For CDC
   jobs this can cause follower failover to use stale JDBC credentials or
   miss updated load options such as `max_filter_ratio`.
   
   Fix: sync both maps in `replayOnUpdated()` with null-guards, matching the
   pattern used for `offsetProviderPersist` (#62449).
   
   ### Release note
   
   Fix streaming job ALTER JOB source/target properties being lost after FE 
checkpoint/restart.
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label


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