-
Notifications
You must be signed in to change notification settings - Fork 3
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
Audit log missing entries #353
Comments
Technically this can happen with files too, not just S3, since |
@abukharov thoughts?
|
For emergency fix, I split the files to be unique by account+region, but this makes for rather messy output directory/S3 bucket. |
As discussed with Alex: rather than implementing any locking/mutex in AccountRevolver, the logging could be deferred until all the accounts are completed, then merged, and emitted at the global scope. I'm going to delay implementing this for now, as the workaround (per-account output files) is OK for now. |
The audit log from a run last night appears to be missing entries:
Suspect race-condition in appending to the S3 audit log? Multiple accounts are running at the same time, and the S3 file writer doesn't have native/atomic file append, so fakes this by reading contents + appending + writing, which could result in lost-writes.
The text was updated successfully, but these errors were encountered: