We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b391503 commit ac6e1a8Copy full SHA for ac6e1a8
channeldb/db.go
@@ -1422,6 +1422,14 @@ func (d *DB) syncVersions(versions []mandatoryVersion) error {
1422
//
1423
// NOTE: only support the prune_revocation_log optional migration atm.
1424
func (d *DB) applyOptionalVersions(cfg OptionalMiragtionConfig) error {
1425
+ // TODO(yy): need to design the db to support dry run for optional
1426
+ // migrations.
1427
+ if d.dryRun {
1428
+ log.Info("Skipped optional migrations as dry run mode is not " +
1429
+ "supported yet")
1430
+ return nil
1431
+ }
1432
+
1433
om, err := d.fetchOptionalMeta()
1434
if err != nil {
1435
if err == ErrMetaNotFound {
0 commit comments