tursodatabase / tursodatabase/libsql

libsql: store and request latest replication index

Open
#651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

In libsql, we should store and request the current replication index, so that we always guarantee RYW and monotonic reads on the same client. The logic for that is already exposed by libsql-server, we only need to hook it up with the client.

Contributor guide

Open the contributing guide

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 client integration with libsql-server, where the existing replication-index logic is exposed. Determine how the client should store and request the current index, then verify that the behavior guarantees read-your-writes and monotonic reads for the same client.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
databases, distributed-systems
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.