mafintosh / mafintosh/hyperdb

Allow put to a specific head

Open
#42 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
748
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Currently `db.put` will merge previous values for a key. It would be useful to be able to put to a specific head without merging. This would enable the user to delay decisions about merging until later. This would require that a property is exposed on `db.get` that allows the user to specify which record they are updating.

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 by tracing the db.put and db.get entry points to understand how previous values and heads are currently handled. Determine the API and record identity needed to target one head without merging, then verify that callers can defer merging decisions and that existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.