aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-05-24 21:08:10 +0200
committerStefan Boberg <[email protected]>2021-05-24 21:08:10 +0200
commite658d7a347fe68fbd45a05879d0f2282ca03747c (patch)
treea07138160dbe3bffb5d29c225d812f41f3e66c13 /zenserver/cache/structuredcachestore.cpp
parentZ$ now tracks content type for large objects as well as small. Large objects ... (diff)
downloadzen-e658d7a347fe68fbd45a05879d0f2282ca03747c.tar.xz
zen-e658d7a347fe68fbd45a05879d0f2282ca03747c.zip
Eliminated sidx file since it's no longer necessary
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
-rw-r--r--zenserver/cache/structuredcachestore.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index 91893d6b3..46690d503 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -214,7 +214,6 @@ private:
BasicFile m_SobsFile;
TCasLogFile<DiskIndexEntry> m_SlogFile;
- BasicFile m_SidxFile;
void BuildPath(zen::WideStringBuilderBase& Path, const zen::IoHash& HashKey);
void PutLargeObject(const zen::IoHash& HashKey, const ZenCacheValue& Value);
@@ -242,7 +241,6 @@ ZenCacheDiskLayer::CacheBucket::OpenOrCreate(std::filesystem::path BucketDir)
std::filesystem::path ManifestPath{m_BucketDir / "zen_manifest"};
std::filesystem::path SobsPath{m_BucketDir / "zen.sobs"};
std::filesystem::path SlogPath{m_BucketDir / "zen.slog"};
- std::filesystem::path SidxPath{m_BucketDir / "zen.sidx"};
CAtlFile ManifestFile;
@@ -294,7 +292,6 @@ ZenCacheDiskLayer::CacheBucket::OpenOrCreate(std::filesystem::path BucketDir)
// Initialize small object storage related files
m_SobsFile.Open(SobsPath, IsNew);
- m_SidxFile.Open(SidxPath, IsNew);
// Open and replay log
@@ -427,7 +424,6 @@ void
ZenCacheDiskLayer::CacheBucket::Flush()
{
m_SobsFile.Flush();
- m_SidxFile.Flush();
m_SlogFile.Flush();
}