aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-23 13:56:06 +0200
committerStefan Boberg <[email protected]>2021-09-23 13:56:06 +0200
commit9ff7a7992ba7ab4eaf3c57bb51b24a6f7d5524c5 (patch)
tree6e262e01bfa83877390efee578e7a4e25f39e1c0
parentAdded scrubbing logic to ZenCacheDiskLayer/ZenCacheMemoryLayer (diff)
downloadzen-9ff7a7992ba7ab4eaf3c57bb51b24a6f7d5524c5.tar.xz
zen-9ff7a7992ba7ab4eaf3c57bb51b24a6f7d5524c5.zip
cidstore: added some implementation notes
-rw-r--r--zenstore/include/zenstore/cidstore.h5
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