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

fault injection should honor page sizes #4

Open
tjungblu opened this issue Sep 27, 2023 · 1 comment
Open

fault injection should honor page sizes #4

tjungblu opened this issue Sep 27, 2023 · 1 comment

Comments

@tjungblu
Copy link

Just wanted to bring etcd-io/bbolt#567 (comment) back to your attention - is there a way I can configure the fault injection to honor the 4k page size boundaries?

Seems when I write 4k it will always fail at 2k. Also would love to hear your opinion on the fix I proposed in etcd-io/bbolt#570 - do you think this would mitigate the init issue for the failure modes you're trying to inject?

@mj-ramos
Copy link
Collaborator

mj-ramos commented Nov 3, 2023

Hi! Sorry for the delayed response. I left a comment on etcd-io/bbolt#567 explaining how to split the write into 4k chunks. The key is to configure the parts parameter with the value 4.
I believe that using a temporary file and renaming it would be the best solution :)

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

No branches or pull requests

2 participants