Output a warning when the version of the database is different than expected
When running tests, and dbversion and db.current_version do not match, we get an arcane check_config failure. At least this log line can help a little to understand what is going on.
Test Plan
Running tests on !571 (closed) with this diff gives a more understandable failure.
Migrated from D4031 (view on Phabricator)