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

commitlog: Make memory segment behave like O_APPEND #2072

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

kim
Copy link
Contributor

@kim kim commented Dec 19, 2024

To mirror the file-backed Repo implementation.

O_APPEND may or may not have been the right choice, but tests using the in-memory backend should expect the same behavior as the file backend.

Expected complexity level and risk

1

Testing

The existing test suite covers the change.
Two test cases have been adjusted.

@kim kim requested a review from Shubham8287 December 19, 2024 08:53
To mirror the file-backed `Repo` implementation.

`O_APPEND` may or may not have been the right choice, but tests using
the in-memory backend should expect the same behavior as the file
backend.
@kim kim force-pushed the kim/commitlog/mem-o-append branch from 1860e4a to ca573b6 Compare December 19, 2024 16:03
@kim kim added this pull request to the merge queue Dec 20, 2024
Merged via the queue into master with commit da0f83b Dec 20, 2024
7 of 8 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