You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SkipNativeSQLMigrationbool`long:"skip-native-sql-migration" description:"Do not run the KV to native SQL migration. It should only be used if errors are encountered normally."`
.
What the user is not told is that if we have db.use-native-sql=true and db.skip-native-sql-migration=true that basically means you're starting with an empty invoice DB and forgetting their existing invoice database.
The text was updated successfully, but these errors were encountered:
Also, the option db.skip-native-sql-migration=trueseems to exist so that if you have some error when trying to do DB migration, you can stop LND, enable this option, then restart LND using the old KV DB and the partially migrated DB is not used.
We need a bit more explanation of the new
db.skip-native-sql-migration
config option atlnd/sample-lnd.conf
Lines 1484 to 1489 in 6a3845b
lnd/lncfg/db.go
Lines 89 to 91 in 6a3845b
What the user is not told is that if we have
db.use-native-sql=true
anddb.skip-native-sql-migration=true
that basically means you're starting with an empty invoice DB and forgetting their existing invoice database.The text was updated successfully, but these errors were encountered: