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

I/O safety enhancements. #30

Open
NTDLS opened this issue Jun 13, 2023 · 0 comments
Open

I/O safety enhancements. #30

NTDLS opened this issue Jun 13, 2023 · 0 comments
Labels
engine The database engine. enhancement New feature or request

Comments

@NTDLS
Copy link
Owner

NTDLS commented Jun 13, 2023

Add options for flushing IO writes to disk. This can be enabled for LOG or DOCUMENTS exclusive of each other. Use this: . Enable file system write-through caching: The write-through caching policy ensures that every write operation is immediately committed to the disk. You can enable this policy using the FileOptions.WriteThrough flag when creating the FileStream object.

Also look at FileStream.Flush(true).

@NTDLS NTDLS added the enhancement New feature or request label Jun 13, 2023
@NTDLS NTDLS added the engine The database engine. label Oct 5, 2023
@NTDLS NTDLS changed the title Log safety enhancements. I/O safety enhancements. Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine The database engine. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant