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

chore: add SyncingFileChannel #2157

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

BenWhitehead
Copy link
Collaborator

Pre-Work

When performing incremental disk based buffering we need to know the data has been fsync'd to disk before we yield and move forward. Add new SyncingFileChannel which decorates a FileChannel to force a sync each time write(ByteBuffer) is called.

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label Aug 7, 2023
@BenWhitehead BenWhitehead requested a review from a team as a code owner August 7, 2023 22:17
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels Aug 7, 2023
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m2/1/sync-file-channel branch from 275d453 to e82106b Compare August 23, 2023 22:41
_Pre-Work_

When performing incremental disk based buffering we need to know the data has been fsync'd to disk before we yield and move forward. Add new SyncingFileChannel which decorates a FileChannel to force a sync each time write(ByteBuffer) is called.
@BenWhitehead BenWhitehead force-pushed the write-acceleration/m2/1/sync-file-channel branch from e82106b to 497991c Compare September 6, 2023 18:02
@BenWhitehead BenWhitehead merged commit bffb397 into main Sep 12, 2023
@BenWhitehead BenWhitehead deleted the write-acceleration/m2/1/sync-file-channel branch September 12, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants