Yukang-Lian opened a new pull request, #67259:
URL: https://github.com/apache/doris/pull/67259

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #62861
   
   Problem Summary: Light schema changes create a finished compatibility job 
after directly updating table metadata. Their column and inverted-index journal 
records did not persist the job's creation and finish times, so replay rebuilt 
the job with the replay timestamp. This changed SHOW ALTER history and delayed 
expiration after every restart. Persist both timestamps at the metadata journal 
commit point and restore them during replay. Register the live compatibility 
job immediately after that commit so later inverted-index cleanup failures 
remain consistent with replay, while treating missing fields from older 
journals as replay-time defaults.
   
   ### Release note
   
   Preserve light schema change job creation and finish timestamps across FE 
replay.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - `./run-fe-ut.sh --run 
'org.apache.doris.alter.LightSchemaChangeReplayTest,org.apache.doris.persist.TableAddOrDropColumnsInfoTest,org.apache.doris.alter.SchemaChangeHandlerTest#testModifyTableLightSchemaChangeReplayNormalizesBfColumns'`
 (6 tests, 0 failures/errors/skips; FE reactor BUILD SUCCESS)
       - Checkstyle 9.3 on all changed Java files
   - Behavior changed: Yes. Replayed light schema change jobs retain their 
original creation and finish timestamps.
   - Does this need documentation: No
   


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