diff options
| author | Dan Engelbrecht <[email protected]> | 2023-12-11 03:44:00 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-11 09:44:00 +0100 |
| commit | a331880c88668c8c1e793c12acd88bc1d60f9ee0 (patch) | |
| tree | d55170db2688fe8798c8b9907714bfd11abdb581 /src/zenutil/logging.cpp | |
| parent | Merge pull request #593 from EpicGames/zs/get-all-chunk-infos (diff) | |
| download | zen-a331880c88668c8c1e793c12acd88bc1d60f9ee0.tar.xz zen-a331880c88668c8c1e793c12acd88bc1d60f9ee0.zip | |
fix deadlock at bucket creation (#598)
- Make sure we don't hold the namespace bucket lock when we create buckets to avoid deadlock
- Pass lock scope to helper functions to clarify locking rules
- Block flush and gc operations for a bucket that is not yet initialized
- Add ZenCacheDiskLayer::GetOrCreateBucket to avoid code duplication
Diffstat (limited to 'src/zenutil/logging.cpp')
0 files changed, 0 insertions, 0 deletions