diff options
| author | Stefan Boberg <[email protected]> | 2021-09-23 13:56:06 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-23 13:56:06 +0200 |
| commit | 9ff7a7992ba7ab4eaf3c57bb51b24a6f7d5524c5 (patch) | |
| tree | 6e262e01bfa83877390efee578e7a4e25f39e1c0 | |
| parent | Added scrubbing logic to ZenCacheDiskLayer/ZenCacheMemoryLayer (diff) | |
| download | zen-9ff7a7992ba7ab4eaf3c57bb51b24a6f7d5524c5.tar.xz zen-9ff7a7992ba7ab4eaf3c57bb51b24a6f7d5524c5.zip | |
cidstore: added some implementation notes
| -rw-r--r-- | zenstore/include/zenstore/cidstore.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/cidstore.h b/zenstore/include/zenstore/cidstore.h index f4439e083..2eea04164 100644 --- a/zenstore/include/zenstore/cidstore.h +++ b/zenstore/include/zenstore/cidstore.h @@ -25,6 +25,11 @@ class IoBuffer; * be used to deal with other kinds of indirections in the future. For example, if we want * to support chunking then a CID may represent a list of chunks which could be concatenated * to form the referenced chunk. + * + * It would likely be possible to implement this mapping in a more efficient way if we + * integrate it into the CAS store itself, so we can avoid maintaining copies of large + * hashes in multiple locations. This would also allow us to consolidate commit logs etc + * which would be more resilient than the current split log scheme * */ class CidStore |