diff --git a/CHANGELOG.md b/CHANGELOG.md index 25f805d286..5606ed5664 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ See [RELEASE](./RELEASE.md) for workflow instructions. ### Improvements +* [#6431](https://github.com/spacemeshos/go-spacemesh/pull/6431) Fix db-allow-schema-drift handling * [#6408](https://github.com/spacemeshos/go-spacemesh/pull/6408) Prevent empty DB connection pool by freeing connections upon errors during DB operations. This mostly fixes issues when a node is under heavy load from the API. diff --git a/node/node.go b/node/node.go index 11076d235b..d23ec8dd71 100644 --- a/node/node.go +++ b/node/node.go @@ -1998,6 +1998,7 @@ func (app *App) setupDBs(ctx context.Context, lg log.Log) error { sql.WithReadOnly(), sql.WithLogger(apiDBLog), sql.WithConnections(app.Config.API.DatabaseConnections), + sql.WithNoCheckSchemaDrift(), // already checked above sql.WithMigrationsDisabled(), ) if err != nil {