aboutsummaryrefslogtreecommitdiff
path: root/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-11 16:11:45 +0100
committerDan Engelbrecht <[email protected]>2022-03-31 11:28:31 +0200
commited5ae6018dc79c3cb8574a46faf3046834238d8f (patch)
tree9a6d2ddeeac315adc873854f4f672baa4fb50ba5 /zenstore/compactcas.cpp
parentCompact algorithm that can be interrupted and still regain space at end (diff)
downloadzen-ed5ae6018dc79c3cb8574a46faf3046834238d8f.tar.xz
zen-ed5ae6018dc79c3cb8574a46faf3046834238d8f.zip
Todo notes
Diffstat (limited to 'zenstore/compactcas.cpp')
-rw-r--r--zenstore/compactcas.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 3541f22ee..020fd6dbc 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -527,8 +527,12 @@ CasContainerStrategy::OpenContainer(bool IsNewStore)
}
});
+ // TODO: MaxFileOffset needs to be calculated when we have final m_LocationMap
+
m_CurrentInsertOffset = (MaxFileOffset + m_PayloadAlignment - 1) & ~(m_PayloadAlignment - 1);
m_CurrentIndexOffset = m_SmallObjectIndex.FileSize();
+
+ // TODO: Rewrite cal-log from m_LocationMap
}
void