losfair / losfair/mvsqlite

Add back commit groups

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
1.6k
Forks
48
PR merge metrics
No merged PRs in 30d

Description

The commit group feature that allows multi-database transactions is removed from the latest version, because an elegant API design is not found. SQLite doesn't give us a way to associate a VFS with its database connection, so we had to use thread-local state. This causes confusion for the user, and does not work with languages that aggressively reschedules coroutines like Go.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reviewing the current transaction and VFS handling, then determine an API that restores multi-database commit groups without thread-local state and remains reliable when Go reschedules coroutines; done means those transactions work without the stated confusion or scheduling failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.