tursodatabase / tursodatabase/libsql
libsql: store and request latest replication index
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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