commit | a7573c7b9065aa5d5b98a13d937431eb996c58e9 | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Fri Jul 30 20:39:20 2021 -0700 |
committer | Daniel Rosenberg <drosen@google.com> | Fri Jul 30 20:44:46 2021 -0700 |
tree | 3cb5f170e36377210f266cc17eb52bdbcb749194 | |
parent | e278cee7423394d70b5217d5d34eab1b5e75fdd2 [diff] |
libsnapshot: Don't PrepMergeOps on resume If we're reading up to a label, we're resuming setting up the file, and there is no reason to expect the ops we require for sequence ops to be present. In that case, skip prepping for merge, and return an empty merge iterator if it is mistakenly requested. Test: cow_api_test CowTest.ResumeSeqOp Change-Id: Idd93bd4c4209197b9728fcb21a7191aae971b62d