Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Make some operation type ignorable when replaying journal fails (backport #39091) #42543

Closed
wants to merge 1 commit into from

Commits on Mar 13, 2024

  1. [Enhancement] Make some operation type ignorable when replaying journ…

    …al fails (#39091)
    
    Why I'm doing:
    Journal replay failure is the main reason for FE startup failure, but most Journal replay failures only affect the use of a small function. Therefore, it is necessary to sort out the severity of each replay failure and ignore the OperationType with a relatively small impact.
    
    What I'm doing:
    The replay failure of OperationType with @IgnorableOnReplayFailed annotation will be ignored when `Config. metadata_journal_ignore_replay_failure` is set to true.
    
    Signed-off-by: gengjun-git <[email protected]>
    (cherry picked from commit 9694e10)
    
    # Conflicts:
    #	docs/en/administration/FE_configuration.md
    #	docs/zh/administration/FE_configuration.md
    #	fe/fe-core/src/main/java/com/starrocks/common/Config.java
    #	fe/fe-core/src/main/java/com/starrocks/journal/JournalEntity.java
    #	fe/fe-core/src/main/java/com/starrocks/persist/EditLog.java
    #	fe/fe-core/src/main/java/com/starrocks/persist/OperationType.java
    #	fe/fe-core/src/main/java/com/starrocks/server/GlobalStateMgr.java
    #	fe/fe-core/src/test/java/com/starrocks/persist/EditLogTest.java
    #	fe/fe-core/src/test/java/com/starrocks/server/GlobalStateMgrTest.java
    gengjun-git authored and mergify[bot] committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    06324dd View commit details
    Browse the repository at this point in the history