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

Ensure that switchover vars are initialized before use: #4527

Merged
merged 1 commit into from
May 23, 2023

Commits on May 18, 2023

  1. Ensure that switchover vars are initialized before use:

    Global variables in different TUs are initialized in an undefined order.
    At least one global variable was accessing a global switchover variable.
    This caused the switchover variable to be initialized in an incorrect
    state.
    
    Since the switchover is always explicitly set before transaction
    processing, this bug can not effect transaction processing, but could
    effect unit tests (and potentially the value of some global variables).
    Note: at the time of this patch the offending bug is not yet in production.
    seelabs committed May 18, 2023
    Configuration menu
    Copy the full SHA
    17298d4 View commit details
    Browse the repository at this point in the history