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

Use O_APPEND for logs and log version number #588

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

jamesbornholt
Copy link
Member

@jamesbornholt jamesbornholt commented Oct 30, 2023

Description of change

In background mode we have two processes both racing on the log file,
and they can scribble each other's log entries (I saw this in #566).
O_APPEND should fix that. We should also log the version number as a
point of reference.

Does this change impact existing behavior?

No.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

In background mode we have two processes both racing on the log file,
and they can scribble each other's log entries (I saw this in awslabs#566).
O_APPEND should fix that. We should also log the version number as a
point of reference.

Signed-off-by: James Bornholt <[email protected]>
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests October 30, 2023 17:54 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests October 30, 2023 17:54 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests October 30, 2023 17:54 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests October 30, 2023 17:54 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt marked this pull request as ready for review October 30, 2023 20:07
@dannycjones dannycjones added this pull request to the merge queue Oct 31, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 31, 2023
@dannycjones dannycjones added this pull request to the merge queue Oct 31, 2023
Merged via the queue into awslabs:main with commit 301ee16 Oct 31, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants