aboutsummaryrefslogtreecommitdiff
path: root/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-15 10:48:30 +0100
committerDan Engelbrecht <[email protected]>2022-03-31 11:28:31 +0200
commit6c654174bd5bcbdd694fc78a9923714a9a32d796 (patch)
tree38dd3290ddd6788395538705b7da75e7cd46cc66 /zenstore/compactcas.cpp
parentblock files (diff)
downloadzen-6c654174bd5bcbdd694fc78a9923714a9a32d796.tar.xz
zen-6c654174bd5bcbdd694fc78a9923714a9a32d796.zip
clang format
Diffstat (limited to 'zenstore/compactcas.cpp')
-rw-r--r--zenstore/compactcas.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 5712734c7..91ee232fe 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -486,10 +486,10 @@ CasContainerStrategy::MakeIndexSnapshot()
namespace fs = std::filesystem;
- fs::path SlogPath = m_Config.RootDirectory / (m_ContainerBaseName + ".ulog");
- fs::path SidxPath = m_Config.RootDirectory / (m_ContainerBaseName + ".uidx");
- fs::path STmplogPath = m_Config.RootDirectory / (m_ContainerBaseName + ".tmp.ulog");
- fs::path STmpSidxPath = m_Config.RootDirectory / (m_ContainerBaseName + ".tmp.uidx");
+ fs::path SlogPath = m_Config.RootDirectory / (m_ContainerBaseName + ".ulog");
+ fs::path SidxPath = m_Config.RootDirectory / (m_ContainerBaseName + ".uidx");
+ fs::path STmplogPath = m_Config.RootDirectory / (m_ContainerBaseName + ".tmp.ulog");
+ fs::path STmpSidxPath = m_Config.RootDirectory / (m_ContainerBaseName + ".tmp.uidx");
fs::path SRecoveredlogPath = m_Config.RootDirectory / (m_ContainerBaseName + ".recover.ulog");
// Move cas and index away, we keep them if something goes wrong, any new chunks will be added to the new log
@@ -522,7 +522,7 @@ CasContainerStrategy::MakeIndexSnapshot()
std::vector<CasDiskIndexEntry> Entries;
{
- RwLock::SharedLockScope _l(m_LocationMapLock);
+ RwLock::SharedLockScope _l(m_LocationMapLock);
Entries.resize(m_LocationMap.size());
uint64_t EntryIndex = 0;