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

Wait until after peer relation joined before acquiring lock #276

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    c23ff0d View commit details
    Browse the repository at this point in the history
  2. Wait until after peer relation joined before acquiring lock

    ## Issue
    During initial startup (i.e. scale-up), a unit will request a lock via the peer databag until it gets a peer-relation-joined event and learns that other units of OpenSearch are online
    
    ## Solution
    Wait until after the first peer-relation-joined event before trying to acquire lock (so that if [enough] units of opensearch are online, we request the opensearch lock instead of peer databag lock)
    carlcsaposs-canonical committed May 2, 2024
    Configuration menu
    Copy the full SHA
    2196508 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83052e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd91695 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04d0c44 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9091273 View commit details
    Browse the repository at this point in the history