fault injection should honor page sizes
Just wanted to bring https://github.com/etcd-io/bbolt/issues/567#issuecomment-1727826001 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 https://github.com/etcd-io/bbolt/pull/570 - do you think this would mitigate the init issue for the failure modes you're trying to inject?
Hi! Sorry for the delayed response. I left a comment on https://github.com/etcd-io/bbolt/issues/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 :)