Skip to content

feat(zero-cache): config to turn on SQLite-only change log mode - #6488

Open
tantaman wants to merge 1 commit into
mainfrom
mlaw/sqlite-change-log-mode
Open

feat(zero-cache): config to turn on SQLite-only change log mode#6488
tantaman wants to merge 1 commit into
mainfrom
mlaw/sqlite-change-log-mode

Conversation

@tantaman

@tantaman tantaman commented Sep 4, 2026

Copy link
Copy Markdown
Contributor
  • A new hidden setting, pgChangeLogEnabled. defaults to true.
  • If false, SQLite handles:
    • resuming streams
    • storing incoming changes
    • serving catch-up data
    • deciding when changes are safe to purge
    • tracking backup progress
  • PostgreSQL’s old change log is left alone and is no longer used as a fallback.
  • Subscribers asking for data older than SQLite has receive a “watermark too old” error,
    prompting a fresh sync.
  • Disabling PostgreSQL requires SQLite to be fully authoritative and requires a Litestream
    v5 backup, preventing unsafe configurations.

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
replicache-docs Ready Ready Preview Sep 4, 2026 5:58pm UTC
zbugs Ready Ready Preview Sep 4, 2026 5:58pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant