Skip to content

Commit

Permalink
Reproduced #224
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Jul 1, 2024
1 parent cf31b1b commit 0fcd600
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ internal Table(DirectoryInfo location, int bufferSize, int recordsPerPartition,
: base(location, HeaderSize, bufferSize, recordsPerPartition, partitionNumber, in manager, readersCount, writeMode, initialSize)
{
footer = manager.BufferAllocator.AllocateExactly(recordsPerPartition * LogEntryMetadata.Size);
#if DEBUG
footer.Span.Clear();
#endif

header = manager.BufferAllocator.AllocateExactly(HeaderSize);
header.Span.Clear();
Expand Down

0 comments on commit 0fcd600

Please sign in to comment.