diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-07-20 13:18:32 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-20 17:55:45 +0000 |
commit | d0e0220787fa127e0fae9d0c9f691316bd1eb6db (patch) | |
tree | adab33ae9ef947dd01acb79a31f113ed2609e028 /src/mongo/SConscript | |
parent | f8ab75fa4fb28e466cca62b8849ad65485fdae0a (diff) | |
download | mongo-d0e0220787fa127e0fae9d0c9f691316bd1eb6db.tar.gz |
SERVER-48050 FCV should be initialized before attempting to restart in-progress index builds
* Refactored repairDatabaseAndCheckVersion by moving FCV logic into
the FeatureCompatibilityVersion class
* Refactored repairDatabaseAndCheckVersion by separating procedures of
regular recovery, read-only mode, and repair
* Renamed repairDatabaseAndCheckVersion to repairAndRecoverDatabases
* Moved startup recovery/repair free function into a 'startup_recovery' namespace
* Moved repair free functions into a 'repair' namespace.
renamed: src/mongo/db/repair_database_and_check_version.cpp -> src/mongo/db/startup_recovery.cpp
renamed: src/mongo/db/repair_database_and_check_version.h -> src/mongo/db/startup_recovery.h
renamed: src/mongo/db/repair_database.cpp -> src/mongo/db/repair.cpp
renamed: src/mongo/db/repair_database.h -> src/mongo/db/repair.h
Diffstat (limited to 'src/mongo/SConscript')
-rw-r--r-- | src/mongo/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 54e0f1239c7..4f2c249820d 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -458,7 +458,6 @@ env.Library( 'db/query_exec', 'db/read_concern_d_impl', 'db/read_write_concern_defaults', - 'db/repair_database_and_check_version', 'db/repl/bgsync', 'db/repl/oplog_application', 'db/repl/oplog_buffer_blocking_queue', @@ -481,6 +480,7 @@ env.Library( 'db/service_liaison_mongod', 'db/sessions_collection_rs', 'db/sessions_collection_standalone', + 'db/startup_recovery', 'db/startup_warnings_mongod', 'db/stats/counters', 'db/stats/serveronly_stats', @@ -569,7 +569,6 @@ env.Library( 'db/op_observer', 'db/periodic_runner_job_abort_expired_transactions', 'db/pipeline/process_interface/mongod_process_interface_factory', - 'db/repair_database_and_check_version', 'db/repl/drop_pending_collection_reaper', 'db/repl/repl_coordinator_impl', 'db/repl/replication_recovery', @@ -584,6 +583,7 @@ env.Library( 'db/service_liaison_mongod', 'db/sessions_collection_rs', 'db/sessions_collection_standalone', + 'db/startup_recovery', 'db/startup_warnings_mongod', 'db/storage/backup_cursor_hooks', 'db/storage/flow_control', |