| 1497 | } |
| 1498 | |
| 1499 | const Key blobGranuleMergeKeyFor(UID const& mergeGranuleID) { |
| 1500 | // TODO should we bump this assumed version to 7.2 as blob granule merging is not in 7.1? 7.1 won't try to read this |
| 1501 | // data though since it didn't exist before |
| 1502 | BinaryWriter wr(AssumeVersion(ProtocolVersion::withBlobGranule())); |
| 1503 | wr.serializeBytes(blobGranuleMergeKeys.begin); |
| 1504 | wr << mergeGranuleID; |
| 1505 | |
| 1506 | return wr.toValue(); |
| 1507 | } |
| 1508 | |
| 1509 | UID decodeBlobGranuleMergeKey(KeyRef const& key) { |
| 1510 | UID mergeGranuleID; |
no test coverage detected