OP-Engineering / OP-Engineering/op-sqlite

[Request]: Opt-in resumable SQLite RBU support

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

Nobody has claimed this yet.

Dominant language
C
Stars
1k
Forks
91
Avg merge
11h 53m
Merged PRs (30d)
11

Description

What do you need?

Please add opt-in support for SQLite Resumable Bulk Update (RBU) when OP-SQLite uses its bundled vanilla SQLite backend.

Suggested API and configuration:

  • "op-sqlite": { "rbu": true }, disabled by default
  • isRBUEnabled() for capability detection
  • applyRBU({ targetPath, updatePath, statePath?, maxSteps? }) for asynchronous, bounded pause/resume with structured SQLite errors

The scope should be applying externally prepared RBU artifacts, not generating them. Documentation should call out the exact-base requirement, persistent state handling, and SQLite concurrency/journaling limitations. Unsupported backends and platforms should fail clearly rather than silently falling back.

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 configuration and capability paths for op-sqlite’s bundled vanilla SQLite backend, then map where the proposed isRBUEnabled() and applyRBU() APIs would fit. Done means opt-in asynchronous bounded RBU application works with structured SQLite errors, while unsupported backends and platforms fail clearly and the exact-base, state, concurrency, and journaling limitations are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, react-native, sqlite
Domain
databases, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.