diff options
| author | Dan Engelbrecht <[email protected]> | 2022-06-01 10:00:45 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-01 10:00:45 +0200 |
| commit | b7b172ddf7a417ab04ed6a26bfce17b5e6df59a2 (patch) | |
| tree | e154da3a2d833d21931fce47c90a9927d516473a | |
| parent | Merge pull request #114 from EpicGames/de/fix-legacy-upstream-without-namespa... (diff) | |
| parent | Always block GC of current write block (diff) | |
| download | zen-b7b172ddf7a417ab04ed6a26bfce17b5e6df59a2.tar.xz zen-b7b172ddf7a417ab04ed6a26bfce17b5e6df59a2.zip | |
Merge pull request #115 from EpicGames/de/block-gc-of-current-write-block
Always block GC of current write block
| -rw-r--r-- | zenstore/blockstore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zenstore/blockstore.cpp b/zenstore/blockstore.cpp index 7d3d2f5bb..4e61c23cf 100644 --- a/zenstore/blockstore.cpp +++ b/zenstore/blockstore.cpp @@ -272,6 +272,10 @@ BlockStore::GetReclaimSnapshotState() { State.m_ActiveWriteBlocks.insert(BlockIndex); } + if (m_WriteBlock) + { + State.m_ActiveWriteBlocks.insert(m_WriteBlockIndex); + } State.BlockCount = m_ChunkBlocks.size(); return State; } |