0AyanamiRei opened a new pull request, #67514:
URL: https://github.com/apache/doris/pull/67514
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: In cloud mode, paused Kafka routine load jobs could retain
their state and pause reason during FE replay while losing statistics,
progress, lag, and current partition metadata. Pause edit logs only carried the
state transition, so checkpoint replay could not reconstruct operator-visible
metadata that lived outside the FE transaction journal. This change persists a
metadata snapshot with Kafka pause operations, restores it during replay, and
retains the Kafka fields in subsequent checkpoint images. Legacy pause
operations without a snapshot keep the existing replay behavior.
### Release note
Paused Kafka routine load jobs preserve their statistics, progress, lag, and
current partitions after FE replay.
### Check List (For Author)
- Test
- [ ] Regression test
- [x] Unit Test (coverage added; not run per request)
- [ ] Manual test
- [ ] No need to test or manual test
- Behavior changed:
- [ ] No.
- [x] Yes. Paused Kafka routine load metadata is retained across FE
replay.
- 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]