commit | 770099bde155750843b2dffec0409c647e316b80 | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Tue Dec 22 21:36:24 2020 -0800 |
committer | Daniel Rosenberg <drosen@google.com> | Tue Dec 22 21:43:26 2020 -0800 |
tree | d4b9ee7af66ec2f2c787479c7cfa98e12beb5a34 | |
parent | 819ca32a0af7f7e66aa67b493758ecf0abff0efb [diff] |
libsnapshot: Add cluster breaks after ops Previously, we'd check if a new cluster was needed before we added a Cow Operation. This would cause an op's associated data to go to the wrong location, so instead we check if we'll need a new cluster after writing each op. Bug: 172026020 Test: cow_api_test (ClusterCompressGz) Change-Id: Ia43afedcfd430961b34f5914da4265b89e6fadb9