You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix race condition in isFirstRun using atomic file creation
Use os.OpenFile with os.O_EXCL|os.O_CREATE to atomically create the
marker file. This eliminates the check-then-act race condition where
multiple concurrent cagent processes could all see the marker file as
missing and all proceed with first-run initialization.
Fixes#1709
Assisted-By: cagent
0 commit comments