commit | 84e5e6f7511282b981e2eeb0b3b0b358b4891a04 | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Wed Dec 06 16:37:02 2023 -0800 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Wed Dec 06 16:41:25 2023 -0800 |
tree | 51665adbe76a1830cf9731cf1e703379ba65c208 | |
parent | 73ade161871fbe1df3374a4bb4c8630fc372d77e [diff] |
Support batch writes for non-compressed ops This also improves atomicity of ops. If a single Add*Blocks() call with 100 blocks failed in the middle, partially written blocks would be discarded, and op count on disk stays unchanged. Previously wew ould update the op count on disk with partially written blocks, causing labels to be inaccurate. Test: th Bug: 313962438 Change-Id: If175a705f6ec46c1b25c52d0d9f02f01a540ce55