lightninglabs / lightninglabs/lndinit
Support SQLITE migration to POSTGRES
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 37
- Forks
- 18
- Avg merge
- 1h 30m
- Merged PRs (30d)
- 1
Description
We should also support the migration from SQLITE to POSTGRES. People might start with a smaller node but later want to upgrade operations with a more reliable setup using POSTGRES.
This migration include 2 steps.
1. Migrating the kv-db part.
2. Migrating the native sql part (if the user already activated the native sql store in LND)
Contributor guide
No contributing guide indexed for this repository
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 how the kv-db and native SQL stores are configured and persisted. Define the migration path for each store, then verify that both SQLite data paths can be moved to PostgreSQL without losing data or leaving either store unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgres, sqlite
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100