linksplatform / linksplatform/Data.Doublets

Make a header for split memory implementation

Open
#179 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

https://github.com/linksplatform/Data.Doublets/blob/1764a4cf6bd8d8b1304ca62b58bdbfd79f9f9ff3/csharp/Platform.Data.Doublets/Memory/LinksHeader.cs#L16-23

The header should contain enough information to recreate index file it it is lost or dropped, or only data file was copied between storage devices.

I suppose the best candidates are file format version and allocated links. All other fields should be calculated using one time scan of data file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at csharp/Platform.Data.Doublets/Memory/LinksHeader.cs lines 16-23 and inspect the split memory implementation's header fields. Determine how the file format version and allocated links can preserve enough information to recreate a lost index file, while other fields are calculated by scanning the data file; done means the index can be recreated after only the data file is copied.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.