mirror of
https://github.com/ZoneTree/ZoneTree.git
synced 2026-10-26 19:57:56 +08:00
Mark disk segment volatile.
This commit is contained in:
@@ -51,8 +51,9 @@ public sealed partial class ZoneTree<TKey, TValue> : IZoneTree<TKey, TValue>, IZ
|
||||
public IReadOnlyList<IReadOnlySegment<TKey, TValue>> ReadOnlySegments =>
|
||||
ReadOnlySegmentQueue.ToArray();
|
||||
|
||||
public IDiskSegment<TKey, TValue> DiskSegment { get; private set; }
|
||||
= new NullDiskSegment<TKey, TValue>();
|
||||
volatile IDiskSegment<TKey, TValue> _diskSegment = new NullDiskSegment<TKey, TValue>();
|
||||
|
||||
public IDiskSegment<TKey, TValue> DiskSegment { get => _diskSegment; private set => _diskSegment = value; }
|
||||
|
||||
public IReadOnlyList<IDiskSegment<TKey, TValue>> BottomSegments =>
|
||||
BottomSegmentQueue.ToArray();
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<Authors>Ahmed Yasin Koculu</Authors>
|
||||
<PackageId>ZoneTree</PackageId>
|
||||
<Title>ZoneTree</Title>
|
||||
<ProductVersion>1.5.0.0</ProductVersion>
|
||||
<Version>1.5.0.0</Version>
|
||||
<ProductVersion>1.5.1.0</ProductVersion>
|
||||
<Version>1.5.1.0</Version>
|
||||
<Authors>Ahmed Yasin Koculu</Authors>
|
||||
<AssemblyTitle>ZoneTree</AssemblyTitle>
|
||||
<Description>ZoneTree is a persistent, high-performance, transactional, ACID-compliant ordered key-value database for NET. It can operate in memory or on local/cloud storage.</Description>
|
||||
|
||||
Reference in New Issue
Block a user