diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-01-07 15:48:00 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-01-12 11:42:03 -0500 |
commit | 76b2e3c90dc12229317722f60affaf4f11e9084e (patch) | |
tree | 7b2fda656aaa71df00a9c1e9d5380f6eded58338 /src | |
parent | c518ce7ff2255004e299c802625f2f7c65e048fd (diff) | |
download | mongo-76b2e3c90dc12229317722f60affaf4f11e9084e.tar.gz |
SERVER-16764 Make ReplicationCoordinator file names match the type names
Diffstat (limited to 'src')
80 files changed, 117 insertions, 116 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 219c45b087a..c638677aba8 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -671,8 +671,8 @@ serverOnlyFiles = [ "db/background.cpp", "db/repl/multicmd.cpp", "db/repl/oplog.cpp", "db/repl/oplogreader.cpp", - "db/repl/repl_coordinator_external_state_impl.cpp", - "db/repl/repl_info.cpp", + "db/repl/replication_coordinator_external_state_impl.cpp", + "db/repl/replication_info.cpp", "db/repl/replset_commands.cpp", "db/repl/resync.cpp", "db/repl/rs_initialsync.cpp", diff --git a/src/mongo/db/catalog/collection.cpp b/src/mongo/db/catalog/collection.cpp index aec271cd351..70e7911c556 100644 --- a/src/mongo/db/catalog/collection.cpp +++ b/src/mongo/db/catalog/collection.cpp @@ -46,9 +46,9 @@ #include "mongo/db/catalog/index_create.h" #include "mongo/db/index/index_access_method.h" #include "mongo/db/operation_context.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/storage/mmap_v1/mmap_v1_options.h" #include "mongo/db/storage/record_fetcher.h" -#include "mongo/db/repl/repl_coordinator_global.h" #include "mongo/db/auth/user_document_parser.h" // XXX-ANDY #include "mongo/util/log.h" diff --git a/src/mongo/db/catalog/index_catalog.cpp b/src/mongo/db/catalog/index_catalog.cpp index 61b29403a51..103e6b4bd2b 100644 --- a/src/mongo/db/catalog/index_catalog.cpp +++ b/src/mongo/db/catalog/index_catalog.cpp @@ -56,7 +56,7 @@ #include "mongo/db/keypattern.h" #include "mongo/db/ops/delete.h" #include "mongo/db/query/internal_plans.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/operation_context.h" #include "mongo/util/assert_util.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/catalog/index_create.cpp b/src/mongo/db/catalog/index_create.cpp index 9d6c723c061..cf2e7f961e4 100644 --- a/src/mongo/db/catalog/index_create.cpp +++ b/src/mongo/db/catalog/index_create.cpp @@ -46,7 +46,7 @@ #include "mongo/db/curop.h" #include "mongo/db/query/internal_plans.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/operation_context.h" #include "mongo/util/log.h" #include "mongo/util/processinfo.h" diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp index a00557a131b..6555ebc05e9 100644 --- a/src/mongo/db/client.cpp +++ b/src/mongo/db/client.cpp @@ -59,7 +59,7 @@ #include "mongo/db/jsobj.h" #include "mongo/db/lasterror.h" #include "mongo/db/repl/handshake_args.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/storage_options.h" #include "mongo/s/chunk_version.h" #include "mongo/s/d_state.h" diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp index 50ca7e75d7a..7f19265cc37 100644 --- a/src/mongo/db/clientcursor.cpp +++ b/src/mongo/db/clientcursor.cpp @@ -47,7 +47,7 @@ #include "mongo/db/curop.h" #include "mongo/db/jsobj.h" #include "mongo/db/operation_context_impl.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/exit.h" namespace mongo { diff --git a/src/mongo/db/cloner.cpp b/src/mongo/db/cloner.cpp index f81806f01c9..b052a253407 100644 --- a/src/mongo/db/cloner.cpp +++ b/src/mongo/db/cloner.cpp @@ -55,7 +55,7 @@ #include "mongo/db/namespace_string.h" #include "mongo/db/repl/isself.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_parameters.h" #include "mongo/db/storage_options.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/commands/auth_schema_upgrade_d.cpp b/src/mongo/db/commands/auth_schema_upgrade_d.cpp index e5ff933b651..b3cfba4a4ef 100644 --- a/src/mongo/db/commands/auth_schema_upgrade_d.cpp +++ b/src/mongo/db/commands/auth_schema_upgrade_d.cpp @@ -36,7 +36,7 @@ #include "mongo/db/auth/user_management_commands_parser.h" #include "mongo/db/commands/user_management_commands.h" #include "mongo/db/repl/multicmd.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" #include "mongo/util/version.h" diff --git a/src/mongo/db/commands/cleanup_orphaned_cmd.cpp b/src/mongo/db/commands/cleanup_orphaned_cmd.cpp index 88d36cb969c..6d10d92d2ae 100644 --- a/src/mongo/db/commands/cleanup_orphaned_cmd.cpp +++ b/src/mongo/db/commands/cleanup_orphaned_cmd.cpp @@ -43,7 +43,7 @@ #include "mongo/db/jsobj.h" #include "mongo/db/namespace_string.h" #include "mongo/db/range_deleter_service.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/s/collection_metadata.h" #include "mongo/s/d_state.h" #include "mongo/s/range_arithmetic.h" diff --git a/src/mongo/db/commands/compact.cpp b/src/mongo/db/commands/compact.cpp index 62007df42bc..e087220a3d2 100644 --- a/src/mongo/db/commands/compact.cpp +++ b/src/mongo/db/commands/compact.cpp @@ -45,7 +45,7 @@ #include "mongo/db/index_builder.h" #include "mongo/db/jsobj.h" #include "mongo/db/operation_context_impl.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/commands/count.cpp b/src/mongo/db/commands/count.cpp index 71cde2f3aa4..7cd349d17d5 100644 --- a/src/mongo/db/commands/count.cpp +++ b/src/mongo/db/commands/count.cpp @@ -41,7 +41,7 @@ #include "mongo/db/query/get_executor.h" #include "mongo/db/query/explain.h" #include "mongo/db/range_preserver.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/commands/explain_cmd.cpp b/src/mongo/db/commands/explain_cmd.cpp index ad26ec7bf5c..51bed5599e8 100644 --- a/src/mongo/db/commands/explain_cmd.cpp +++ b/src/mongo/db/commands/explain_cmd.cpp @@ -35,7 +35,7 @@ #include "mongo/db/client.h" #include "mongo/db/commands.h" #include "mongo/db/query/explain.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/mongoutils/str.h" namespace mongo { diff --git a/src/mongo/db/commands/get_last_error.cpp b/src/mongo/db/commands/get_last_error.cpp index df1010afb5e..bc6959e231d 100644 --- a/src/mongo/db/commands/get_last_error.cpp +++ b/src/mongo/db/commands/get_last_error.cpp @@ -37,7 +37,7 @@ #include "mongo/db/commands.h" #include "mongo/db/field_parser.h" #include "mongo/db/lasterror.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/write_concern.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp index d5aebcdc887..e330372778d 100644 --- a/src/mongo/db/commands/mr.cpp +++ b/src/mongo/db/commands/mr.cpp @@ -52,7 +52,7 @@ #include "mongo/db/query/get_executor.h" #include "mongo/db/query/query_planner.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/range_preserver.h" #include "mongo/db/namespace_string.h" #include "mongo/db/operation_context_impl.h" diff --git a/src/mongo/db/commands/oplog_note.cpp b/src/mongo/db/commands/oplog_note.cpp index da81ebd1a25..85789a003cf 100644 --- a/src/mongo/db/commands/oplog_note.cpp +++ b/src/mongo/db/commands/oplog_note.cpp @@ -35,7 +35,7 @@ #include "mongo/db/jsobj.h" #include "mongo/db/commands.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" namespace mongo { class AppendOplogNoteCmd : public Command { diff --git a/src/mongo/db/commands/rename_collection.cpp b/src/mongo/db/commands/rename_collection.cpp index 31f26bbb278..2c87fa0d1e8 100644 --- a/src/mongo/db/commands/rename_collection.cpp +++ b/src/mongo/db/commands/rename_collection.cpp @@ -44,7 +44,7 @@ #include "mongo/db/operation_context_impl.h" #include "mongo/db/ops/insert.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/scopeguard.h" namespace mongo { diff --git a/src/mongo/db/commands/write_commands/batch_executor.cpp b/src/mongo/db/commands/write_commands/batch_executor.cpp index cd3058df4f0..b5727d28e7e 100644 --- a/src/mongo/db/commands/write_commands/batch_executor.cpp +++ b/src/mongo/db/commands/write_commands/batch_executor.cpp @@ -57,8 +57,8 @@ #include "mongo/db/query/plan_executor.h" #include "mongo/db/query/query_knobs.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" #include "mongo/db/repl/repl_settings.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_parameters.h" #include "mongo/db/stats/counters.h" #include "mongo/db/operation_context_impl.h" diff --git a/src/mongo/db/commands/write_commands/write_commands.cpp b/src/mongo/db/commands/write_commands/write_commands.cpp index eb433bd84ae..db3e9e0f6d8 100644 --- a/src/mongo/db/commands/write_commands/write_commands.cpp +++ b/src/mongo/db/commands/write_commands/write_commands.cpp @@ -44,7 +44,7 @@ #include "mongo/db/ops/update_lifecycle_impl.h" #include "mongo/db/query/explain.h" #include "mongo/db/query/get_executor.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_parameters.h" #include "mongo/db/stats/counters.h" #include "mongo/s/d_state.h" diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index b6f14fbdd90..10139e33a45 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -75,10 +75,10 @@ #include "mongo/db/range_deleter_service.h" #include "mongo/db/repair_database.h" #include "mongo/db/repl/network_interface_impl.h" -#include "mongo/db/repl/repl_coordinator_external_state_impl.h" -#include "mongo/db/repl/repl_coordinator_global.h" -#include "mongo/db/repl/repl_coordinator_impl.h" #include "mongo/db/repl/repl_settings.h" +#include "mongo/db/repl/replication_coordinator_external_state_impl.h" +#include "mongo/db/repl/replication_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include "mongo/db/repl/topology_coordinator_impl.h" #include "mongo/db/restapi.h" #include "mongo/db/server_parameters.h" diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp index 45b8fcad1d8..fcf2acb90cf 100644 --- a/src/mongo/db/dbcommands.cpp +++ b/src/mongo/db/dbcommands.cpp @@ -70,8 +70,8 @@ #include "mongo/db/query/internal_plans.h" #include "mongo/db/query/query_planner.h" #include "mongo/db/repair_database.h" -#include "mongo/db/repl/repl_coordinator_global.h" #include "mongo/db/repl/repl_settings.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/repl/oplog.h" #include "mongo/db/storage/storage_engine.h" #include "mongo/db/storage/mmap_v1/dur_stats.h" diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp index 1e806df38d3..4bf272478ad 100644 --- a/src/mongo/db/dbhelpers.cpp +++ b/src/mongo/db/dbhelpers.cpp @@ -54,7 +54,7 @@ #include "mongo/db/query/internal_plans.h" #include "mongo/db/query/query_planner.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/write_concern.h" #include "mongo/db/write_concern_options.h" #include "mongo/db/operation_context_impl.h" diff --git a/src/mongo/db/exec/delete.cpp b/src/mongo/db/exec/delete.cpp index 81295361c01..085ba16c10b 100644 --- a/src/mongo/db/exec/delete.cpp +++ b/src/mongo/db/exec/delete.cpp @@ -36,7 +36,7 @@ #include "mongo/db/exec/scoped_timer.h" #include "mongo/db/exec/working_set_common.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/exec/update.cpp b/src/mongo/db/exec/update.cpp index 77a6dcdf73e..5e655deae78 100644 --- a/src/mongo/db/exec/update.cpp +++ b/src/mongo/db/exec/update.cpp @@ -38,7 +38,7 @@ #include "mongo/db/exec/working_set_common.h" #include "mongo/db/ops/update_lifecycle.h" #include "mongo/db/query/explain.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/repl/oplog.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp index 6b5df1654f2..125ff0fe362 100644 --- a/src/mongo/db/instance.cpp +++ b/src/mongo/db/instance.cpp @@ -77,7 +77,7 @@ #include "mongo/db/query/find.h" #include "mongo/db/query/get_executor.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/stats/counters.h" #include "mongo/db/storage_options.h" #include "mongo/platform/atomic_word.h" diff --git a/src/mongo/db/operation_context_impl.cpp b/src/mongo/db/operation_context_impl.cpp index 99f48c78f13..d8b4e443b27 100644 --- a/src/mongo/db/operation_context_impl.cpp +++ b/src/mongo/db/operation_context_impl.cpp @@ -37,7 +37,7 @@ #include "mongo/db/curop.h" #include "mongo/db/global_environment_experiment.h" #include "mongo/db/namespace_string.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/storage/storage_engine.h" #include "mongo/platform/random.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/ops/parsed_delete.cpp b/src/mongo/db/ops/parsed_delete.cpp index da1b2c77a25..e8984bceb7d 100644 --- a/src/mongo/db/ops/parsed_delete.cpp +++ b/src/mongo/db/ops/parsed_delete.cpp @@ -39,7 +39,7 @@ #include "mongo/db/query/canonical_query.h" #include "mongo/db/query/get_executor.h" #include "mongo/db/query/query_planner_common.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/assert_util.h" #include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" diff --git a/src/mongo/db/prefetch.cpp b/src/mongo/db/prefetch.cpp index aa76b56c187..f25c73da946 100644 --- a/src/mongo/db/prefetch.cpp +++ b/src/mongo/db/prefetch.cpp @@ -39,8 +39,8 @@ #include "mongo/db/index/index_access_method.h" #include "mongo/db/jsobj.h" #include "mongo/db/repl/bgsync.h" -#include "mongo/db/repl/repl_coordinator.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_parameters.h" #include "mongo/db/stats/timer_stats.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/query/find.cpp b/src/mongo/db/query/find.cpp index 4aeb13d1b16..3ab3f4209be 100644 --- a/src/mongo/db/query/find.cpp +++ b/src/mongo/db/query/find.cpp @@ -49,7 +49,7 @@ #include "mongo/db/query/internal_plans.h" #include "mongo/db/query/qlog.h" #include "mongo/db/query/query_planner_params.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_options.h" #include "mongo/db/server_parameters.h" #include "mongo/db/storage/oplog_hack.h" diff --git a/src/mongo/db/query/get_executor.cpp b/src/mongo/db/query/get_executor.cpp index 1ebae5b514c..7e3b6087998 100644 --- a/src/mongo/db/query/get_executor.cpp +++ b/src/mongo/db/query/get_executor.cpp @@ -64,7 +64,7 @@ #include "mongo/db/query/query_planner.h" #include "mongo/db/query/query_planner_common.h" #include "mongo/db/query/stage_builder.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/index_names.h" #include "mongo/db/server_options.h" #include "mongo/db/server_parameters.h" diff --git a/src/mongo/db/range_deleter.cpp b/src/mongo/db/range_deleter.cpp index 9cf3abd5f52..02a2dc02da9 100644 --- a/src/mongo/db/range_deleter.cpp +++ b/src/mongo/db/range_deleter.cpp @@ -36,7 +36,7 @@ #include <memory> #include "mongo/db/global_environment_experiment.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/write_concern_options.h" #include "mongo/util/concurrency/synchronization.h" #include "mongo/util/exit.h" diff --git a/src/mongo/db/range_deleter_db_env.cpp b/src/mongo/db/range_deleter_db_env.cpp index b82a89a47f1..f7b2dfad747 100644 --- a/src/mongo/db/range_deleter_db_env.cpp +++ b/src/mongo/db/range_deleter_db_env.cpp @@ -38,7 +38,7 @@ #include "mongo/db/client.h" #include "mongo/db/clientcursor.h" #include "mongo/db/dbhelpers.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/write_concern_options.h" #include "mongo/s/d_state.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/range_deleter_test.cpp b/src/mongo/db/range_deleter_test.cpp index b502b04c7fd..d7229bdece3 100644 --- a/src/mongo/db/range_deleter_test.cpp +++ b/src/mongo/db/range_deleter_test.cpp @@ -32,9 +32,9 @@ #include "mongo/db/field_parser.h" #include "mongo/db/range_deleter.h" #include "mongo/db/range_deleter_mock_env.h" -#include "mongo/db/repl/repl_coordinator_global.h" -#include "mongo/db/repl/repl_coordinator_mock.h" #include "mongo/db/repl/repl_settings.h" +#include "mongo/db/repl/replication_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_mock.h" #include "mongo/db/write_concern_options.h" #include "mongo/stdx/functional.h" #include "mongo/unittest/unittest.h" diff --git a/src/mongo/db/repl/SConscript b/src/mongo/db/repl/SConscript index aa0183617a2..aaab11d4988 100644 --- a/src/mongo/db/repl/SConscript +++ b/src/mongo/db/repl/SConscript @@ -72,9 +72,9 @@ env.Library('repl_coordinator_impl', 'check_quorum_for_config_change.cpp', 'elect_cmd_runner.cpp', 'freshness_checker.cpp', - 'repl_coordinator_impl.cpp', - 'repl_coordinator_impl_elect.cpp', - 'repl_coordinator_impl_heartbeat.cpp', + 'replication_coordinator_impl.cpp', + 'replication_coordinator_impl_elect.cpp', + 'replication_coordinator_impl_heartbeat.cpp', 'replica_set_config_checks.cpp', ], LIBDEPS=['$BUILD_DIR/mongo/db/common', @@ -93,7 +93,7 @@ env.Library('repl_coordinator_impl', env.Library('repl_coordinator_test_fixture', [ - 'repl_coordinator_test_fixture.cpp', + 'replication_coordinator_test_fixture.cpp', ], LIBDEPS=[ 'repl_coordinator_impl', @@ -103,7 +103,7 @@ env.Library('repl_coordinator_test_fixture', env.CppUnitTest('repl_coordinator_impl_test', [ - 'repl_coordinator_impl_test.cpp', + 'replication_coordinator_impl_test.cpp', ], LIBDEPS=['repl_coordinator_test_fixture']) @@ -135,35 +135,35 @@ env.CppUnitTest('elect_cmd_runner_test', 'replmocks']) env.CppUnitTest('repl_coordinator_impl_elect_test', - 'repl_coordinator_impl_elect_test.cpp', + 'replication_coordinator_impl_elect_test.cpp', LIBDEPS=['repl_coordinator_test_fixture']) env.CppUnitTest('repl_coordinator_impl_heartbeat_test', - 'repl_coordinator_impl_heartbeat_test.cpp', + 'replication_coordinator_impl_heartbeat_test.cpp', LIBDEPS=['repl_coordinator_test_fixture']) env.CppUnitTest('repl_coordinator_impl_reconfig_test', - 'repl_coordinator_impl_reconfig_test.cpp', + 'replication_coordinator_impl_reconfig_test.cpp', LIBDEPS=['repl_coordinator_test_fixture']) env.Library('repl_coordinator_interface', - ['repl_coordinator.cpp', - 'repl_coordinator_external_state.cpp', + ['replication_coordinator.cpp', + 'replication_coordinator_external_state.cpp', 'repl_set_seed_list.cpp'], LIBDEPS=[ '$BUILD_DIR/mongo/hostandport', ]) env.Library('repl_coordinator_global', - 'repl_coordinator_global.cpp', + 'replication_coordinator_global.cpp', LIBDEPS=['repl_coordinator_interface']) env.Library('replmocks', [ 'network_interface_mock.cpp', 'operation_context_repl_mock.cpp', - 'repl_coordinator_external_state_mock.cpp', - 'repl_coordinator_mock.cpp', + 'replication_coordinator_external_state_mock.cpp', + 'replication_coordinator_mock.cpp', ], LIBDEPS=[ '$BUILD_DIR/mongo/db/concurrency/lock_manager', diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp index 6766c273f6d..f9868c17ded 100644 --- a/src/mongo/db/repl/bgsync.cpp +++ b/src/mongo/db/repl/bgsync.cpp @@ -40,8 +40,8 @@ #include "mongo/db/dbhelpers.h" #include "mongo/db/operation_context_impl.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" -#include "mongo/db/repl/repl_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include "mongo/db/repl/rs_rollback.h" #include "mongo/db/repl/rs_sync.h" #include "mongo/db/stats/timer_stats.h" diff --git a/src/mongo/db/repl/freshness_checker.h b/src/mongo/db/repl/freshness_checker.h index 8f8d07a1d65..71f82cb86d3 100644 --- a/src/mongo/db/repl/freshness_checker.h +++ b/src/mongo/db/repl/freshness_checker.h @@ -33,8 +33,8 @@ #include "mongo/base/disallow_copying.h" #include "mongo/bson/optime.h" -#include "mongo/db/repl/replication_executor.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_executor.h" #include "mongo/db/repl/scatter_gather_algorithm.h" namespace mongo { diff --git a/src/mongo/db/repl/master_slave.cpp b/src/mongo/db/repl/master_slave.cpp index b58e6699e8d..cdc2b77d867 100644 --- a/src/mongo/db/repl/master_slave.cpp +++ b/src/mongo/db/repl/master_slave.cpp @@ -59,7 +59,7 @@ #include "mongo/db/ops/update.h" #include "mongo/db/query/internal_plans.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/repl/sync.h" #include "mongo/db/server_parameters.h" #include "mongo/db/operation_context_impl.h" diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index b02304b5d69..b94ac79fc9a 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -55,7 +55,7 @@ #include "mongo/db/ops/update_lifecycle_impl.h" #include "mongo/db/ops/delete.h" #include "mongo/db/repl/bgsync.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/stats/counters.h" #include "mongo/db/operation_context_impl.h" #include "mongo/db/storage_options.h" diff --git a/src/mongo/db/repl/oplogreader.cpp b/src/mongo/db/repl/oplogreader.cpp index 07384ae01ba..0f10e516963 100644 --- a/src/mongo/db/repl/oplogreader.cpp +++ b/src/mongo/db/repl/oplogreader.cpp @@ -46,7 +46,7 @@ #include "mongo/db/jsobj.h" #include "mongo/db/repl/minvalid.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator.h" +#include "mongo/db/repl/replication_coordinator.h" #include "mongo/util/assert_util.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/repl_set_seed_list.cpp b/src/mongo/db/repl/repl_set_seed_list.cpp index a19d04bce49..aef6277eb46 100644 --- a/src/mongo/db/repl/repl_set_seed_list.cpp +++ b/src/mongo/db/repl/repl_set_seed_list.cpp @@ -32,7 +32,7 @@ #include "mongo/db/repl/repl_set_seed_list.h" -#include "mongo/db/repl/repl_coordinator_external_state.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" #include "mongo/util/assert_util.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/replica_set_config_checks.cpp b/src/mongo/db/repl/replica_set_config_checks.cpp index 35bfab34b04..7b97d3679a3 100644 --- a/src/mongo/db/repl/replica_set_config_checks.cpp +++ b/src/mongo/db/repl/replica_set_config_checks.cpp @@ -32,8 +32,8 @@ #include <iterator> -#include "mongo/db/repl/repl_coordinator_external_state.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" #include "mongo/util/mongoutils/str.h" namespace mongo { diff --git a/src/mongo/db/repl/replica_set_config_checks_test.cpp b/src/mongo/db/repl/replica_set_config_checks_test.cpp index b957f888750..efb39f5e0fa 100644 --- a/src/mongo/db/repl/replica_set_config_checks_test.cpp +++ b/src/mongo/db/repl/replica_set_config_checks_test.cpp @@ -30,10 +30,10 @@ #include "mongo/base/status.h" #include "mongo/db/jsobj.h" -#include "mongo/db/repl/repl_coordinator_external_state.h" -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" #include "mongo/db/repl/replica_set_config.h" #include "mongo/db/repl/replica_set_config_checks.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" #include "mongo/unittest/unittest.h" namespace mongo { diff --git a/src/mongo/db/repl/repl_coordinator.cpp b/src/mongo/db/repl/replication_coordinator.cpp index d9052b31f95..a8b1eaa2fee 100644 --- a/src/mongo/db/repl/repl_coordinator.cpp +++ b/src/mongo/db/repl/replication_coordinator.cpp @@ -28,7 +28,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator.h" +#include "mongo/db/repl/replication_coordinator.h" namespace mongo { namespace repl { diff --git a/src/mongo/db/repl/repl_coordinator.h b/src/mongo/db/repl/replication_coordinator.h index 90564f52f31..90564f52f31 100644 --- a/src/mongo/db/repl/repl_coordinator.h +++ b/src/mongo/db/repl/replication_coordinator.h diff --git a/src/mongo/db/repl/repl_coordinator_external_state.cpp b/src/mongo/db/repl/replication_coordinator_external_state.cpp index 4ee3533e272..68403755b07 100644 --- a/src/mongo/db/repl/repl_coordinator_external_state.cpp +++ b/src/mongo/db/repl/replication_coordinator_external_state.cpp @@ -28,7 +28,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_external_state.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" namespace mongo { namespace repl { diff --git a/src/mongo/db/repl/repl_coordinator_external_state.h b/src/mongo/db/repl/replication_coordinator_external_state.h index dca83cafb0d..dca83cafb0d 100644 --- a/src/mongo/db/repl/repl_coordinator_external_state.h +++ b/src/mongo/db/repl/replication_coordinator_external_state.h diff --git a/src/mongo/db/repl/repl_coordinator_external_state_impl.cpp b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp index 5125ebeb746..80d99ce29b4 100644 --- a/src/mongo/db/repl/repl_coordinator_external_state_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp @@ -30,7 +30,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_external_state_impl.h" +#include "mongo/db/repl/replication_coordinator_external_state_impl.h" #include <boost/thread.hpp> #include <sstream> diff --git a/src/mongo/db/repl/repl_coordinator_external_state_impl.h b/src/mongo/db/repl/replication_coordinator_external_state_impl.h index 63ae3eea174..458519a902f 100644 --- a/src/mongo/db/repl/repl_coordinator_external_state_impl.h +++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.h @@ -33,7 +33,7 @@ #include "mongo/base/disallow_copying.h" #include "mongo/db/concurrency/d_concurrency.h" -#include "mongo/db/repl/repl_coordinator_external_state.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" #include "mongo/db/repl/sync_source_feedback.h" namespace mongo { diff --git a/src/mongo/db/repl/repl_coordinator_external_state_mock.cpp b/src/mongo/db/repl/replication_coordinator_external_state_mock.cpp index 1111b36f42b..7981efff942 100644 --- a/src/mongo/db/repl/repl_coordinator_external_state_mock.cpp +++ b/src/mongo/db/repl/replication_coordinator_external_state_mock.cpp @@ -28,7 +28,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" #include "mongo/base/status_with.h" #include "mongo/bson/oid.h" diff --git a/src/mongo/db/repl/repl_coordinator_external_state_mock.h b/src/mongo/db/repl/replication_coordinator_external_state_mock.h index 9dac6c236c4..c88972f941c 100644 --- a/src/mongo/db/repl/repl_coordinator_external_state_mock.h +++ b/src/mongo/db/repl/replication_coordinator_external_state_mock.h @@ -35,7 +35,7 @@ #include "mongo/bson/oid.h" #include "mongo/bson/optime.h" #include "mongo/db/jsobj.h" -#include "mongo/db/repl/repl_coordinator_external_state.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" #include "mongo/util/net/hostandport.h" namespace mongo { diff --git a/src/mongo/db/repl/repl_coordinator_global.cpp b/src/mongo/db/repl/replication_coordinator_global.cpp index 862fc387ab9..a586f65b437 100644 --- a/src/mongo/db/repl/repl_coordinator_global.cpp +++ b/src/mongo/db/repl/replication_coordinator_global.cpp @@ -28,7 +28,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" namespace mongo { namespace repl { diff --git a/src/mongo/db/repl/repl_coordinator_global.h b/src/mongo/db/repl/replication_coordinator_global.h index 66398079edc..c107959dbf6 100644 --- a/src/mongo/db/repl/repl_coordinator_global.h +++ b/src/mongo/db/repl/replication_coordinator_global.h @@ -28,7 +28,7 @@ #pragma once -#include "mongo/db/repl/repl_coordinator.h" +#include "mongo/db/repl/replication_coordinator.h" namespace mongo { namespace repl { diff --git a/src/mongo/db/repl/repl_coordinator_impl.cpp b/src/mongo/db/repl/replication_coordinator_impl.cpp index 5b333ab70e6..7d7a3ceb93d 100644 --- a/src/mongo/db/repl/repl_coordinator_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl.cpp @@ -30,7 +30,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include <algorithm> #include <boost/thread.hpp> diff --git a/src/mongo/db/repl/repl_coordinator_impl.h b/src/mongo/db/repl/replication_coordinator_impl.h index 3ba31cc9cfc..722ddc1b93f 100644 --- a/src/mongo/db/repl/repl_coordinator_impl.h +++ b/src/mongo/db/repl/replication_coordinator_impl.h @@ -38,9 +38,9 @@ #include "mongo/bson/optime.h" #include "mongo/db/global_environment_experiment.h" #include "mongo/db/repl/member_state.h" -#include "mongo/db/repl/repl_coordinator.h" -#include "mongo/db/repl/repl_coordinator_external_state.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator.h" +#include "mongo/db/repl/replication_coordinator_external_state.h" #include "mongo/db/repl/replication_executor.h" #include "mongo/db/repl/update_position_args.h" #include "mongo/platform/atomic_word.h" diff --git a/src/mongo/db/repl/repl_coordinator_impl_elect.cpp b/src/mongo/db/repl/replication_coordinator_impl_elect.cpp index f6c99d5e0ec..f1029b89f93 100644 --- a/src/mongo/db/repl/repl_coordinator_impl_elect.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl_elect.cpp @@ -31,7 +31,7 @@ #include "mongo/platform/basic.h" #include "mongo/base/disallow_copying.h" -#include "mongo/db/repl/repl_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include "mongo/db/repl/topology_coordinator_impl.h" #include "mongo/db/repl/elect_cmd_runner.h" #include "mongo/db/repl/freshness_checker.h" diff --git a/src/mongo/db/repl/repl_coordinator_impl_elect_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_elect_test.cpp index f08fe206e88..1c01ce663aa 100644 --- a/src/mongo/db/repl/repl_coordinator_impl_elect_test.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl_elect_test.cpp @@ -35,12 +35,12 @@ #include "mongo/db/repl/is_master_response.h" #include "mongo/db/repl/network_interface_mock.h" #include "mongo/db/repl/operation_context_repl_mock.h" -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" -#include "mongo/db/repl/repl_coordinator_impl.h" -#include "mongo/db/repl/repl_coordinator_test_fixture.h" #include "mongo/db/repl/repl_set_heartbeat_args.h" #include "mongo/db/repl/repl_set_heartbeat_response.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" +#include "mongo/db/repl/replication_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_test_fixture.h" #include "mongo/unittest/unittest.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/repl_coordinator_impl_heartbeat.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp index 20627cda7c2..76a023670e0 100644 --- a/src/mongo/db/repl/repl_coordinator_impl_heartbeat.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp @@ -38,10 +38,10 @@ #include "mongo/db/repl/elect_cmd_runner.h" #include "mongo/db/repl/freshness_checker.h" #include "mongo/db/repl/heartbeat_response_action.h" -#include "mongo/db/repl/repl_coordinator_impl.h" #include "mongo/db/repl/repl_set_heartbeat_args.h" #include "mongo/db/repl/repl_set_heartbeat_response.h" #include "mongo/db/repl/replica_set_config_checks.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include "mongo/db/repl/replication_executor.h" #include "mongo/db/repl/topology_coordinator.h" #include "mongo/stdx/functional.h" diff --git a/src/mongo/db/repl/repl_coordinator_impl_heartbeat_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_test.cpp index 10ad25a23bb..9008dbb9854 100644 --- a/src/mongo/db/repl/repl_coordinator_impl_heartbeat_test.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_test.cpp @@ -33,12 +33,12 @@ #include "mongo/db/jsobj.h" #include "mongo/db/operation_context_noop.h" #include "mongo/db/repl/network_interface_mock.h" -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" -#include "mongo/db/repl/repl_coordinator_impl.h" -#include "mongo/db/repl/repl_coordinator_test_fixture.h" #include "mongo/db/repl/repl_set_heartbeat_args.h" #include "mongo/db/repl/repl_set_heartbeat_response.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" +#include "mongo/db/repl/replication_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_test_fixture.h" #include "mongo/db/repl/topology_coordinator_impl.h" #include "mongo/unittest/unittest.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/repl_coordinator_impl_reconfig_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_reconfig_test.cpp index 521ce871e85..39ba0557b18 100644 --- a/src/mongo/db/repl/repl_coordinator_impl_reconfig_test.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl_reconfig_test.cpp @@ -33,13 +33,13 @@ #include "mongo/db/jsobj.h" #include "mongo/db/operation_context_noop.h" #include "mongo/db/repl/network_interface_mock.h" -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" -#include "mongo/db/repl/repl_coordinator_impl.h" -#include "mongo/db/repl/repl_coordinator_test_fixture.h" -#include "mongo/db/repl/repl_coordinator.h" // ReplSetReconfigArgs #include "mongo/db/repl/repl_set_heartbeat_args.h" #include "mongo/db/repl/repl_set_heartbeat_response.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" +#include "mongo/db/repl/replication_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_test_fixture.h" +#include "mongo/db/repl/replication_coordinator.h" // ReplSetReconfigArgs #include "mongo/unittest/unittest.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/repl_coordinator_impl_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_test.cpp index afb4b73d16b..205a2a9ff2a 100644 --- a/src/mongo/db/repl/repl_coordinator_impl_test.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl_test.cpp @@ -42,13 +42,13 @@ #include "mongo/db/repl/is_master_response.h" #include "mongo/db/repl/network_interface_mock.h" #include "mongo/db/repl/operation_context_repl_mock.h" -#include "mongo/db/repl/repl_coordinator.h" // ReplSetReconfigArgs -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" -#include "mongo/db/repl/repl_coordinator_impl.h" -#include "mongo/db/repl/repl_coordinator_test_fixture.h" #include "mongo/db/repl/repl_set_heartbeat_args.h" #include "mongo/db/repl/repl_settings.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator.h" // ReplSetReconfigArgs +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" +#include "mongo/db/repl/replication_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator_test_fixture.h" #include "mongo/db/repl/topology_coordinator_impl.h" #include "mongo/db/repl/update_position_args.h" #include "mongo/db/server_options.h" diff --git a/src/mongo/db/repl/repl_coordinator_mock.cpp b/src/mongo/db/repl/replication_coordinator_mock.cpp index ed86767b589..ef8bebcf235 100644 --- a/src/mongo/db/repl/repl_coordinator_mock.cpp +++ b/src/mongo/db/repl/replication_coordinator_mock.cpp @@ -28,7 +28,7 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_mock.h" +#include "mongo/db/repl/replication_coordinator_mock.h" #include "mongo/base/status.h" #include "mongo/db/write_concern_options.h" diff --git a/src/mongo/db/repl/repl_coordinator_mock.h b/src/mongo/db/repl/replication_coordinator_mock.h index b9ed123c031..604ab48513f 100644 --- a/src/mongo/db/repl/repl_coordinator_mock.h +++ b/src/mongo/db/repl/replication_coordinator_mock.h @@ -29,7 +29,7 @@ #pragma once #include "mongo/base/status.h" -#include "mongo/db/repl/repl_coordinator.h" +#include "mongo/db/repl/replication_coordinator.h" namespace mongo { namespace repl { diff --git a/src/mongo/db/repl/repl_coordinator_test_fixture.cpp b/src/mongo/db/repl/replication_coordinator_test_fixture.cpp index 2ecb4eb7342..2479c5d4724 100644 --- a/src/mongo/db/repl/repl_coordinator_test_fixture.cpp +++ b/src/mongo/db/repl/replication_coordinator_test_fixture.cpp @@ -30,16 +30,16 @@ #include "mongo/platform/basic.h" -#include "mongo/db/repl/repl_coordinator_test_fixture.h" +#include "mongo/db/repl/replication_coordinator_test_fixture.h" #include "mongo/db/operation_context_noop.h" #include "mongo/db/repl/is_master_response.h" #include "mongo/db/repl/network_interface_mock.h" #include "mongo/db/repl/operation_context_repl_mock.h" -#include "mongo/db/repl/repl_coordinator_external_state_mock.h" -#include "mongo/db/repl/repl_coordinator_impl.h" #include "mongo/db/repl/repl_settings.h" #include "mongo/db/repl/repl_set_heartbeat_args.h" +#include "mongo/db/repl/replication_coordinator_external_state_mock.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include "mongo/db/repl/topology_coordinator_impl.h" #include "mongo/stdx/functional.h" #include "mongo/unittest/unittest.h" diff --git a/src/mongo/db/repl/repl_coordinator_test_fixture.h b/src/mongo/db/repl/replication_coordinator_test_fixture.h index 5ddf2c3c0e4..48f644abbe7 100644 --- a/src/mongo/db/repl/repl_coordinator_test_fixture.h +++ b/src/mongo/db/repl/replication_coordinator_test_fixture.h @@ -31,8 +31,8 @@ #include <boost/scoped_ptr.hpp> #include <string> -#include "mongo/db/repl/repl_coordinator.h" #include "mongo/db/repl/repl_settings.h" +#include "mongo/db/repl/replication_coordinator.h" #include "mongo/db/repl/replication_executor.h" #include "mongo/unittest/unittest.h" diff --git a/src/mongo/db/repl/repl_info.cpp b/src/mongo/db/repl/replication_info.cpp index 49f4e830d1c..4559424cac7 100644 --- a/src/mongo/db/repl/repl_info.cpp +++ b/src/mongo/db/repl/replication_info.cpp @@ -42,7 +42,7 @@ #include "mongo/db/repl/master_slave.h" #include "mongo/db/repl/oplog.h" #include "mongo/db/repl/oplogreader.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/storage_options.h" #include "mongo/db/wire_version.h" #include "mongo/s/write_ops/batched_command_request.h" diff --git a/src/mongo/db/repl/replset_commands.cpp b/src/mongo/db/repl/replset_commands.cpp index 6e0bdfce9b2..1821e55e98b 100644 --- a/src/mongo/db/repl/replset_commands.cpp +++ b/src/mongo/db/repl/replset_commands.cpp @@ -33,6 +33,8 @@ #include "mongo/pch.h" #undef MONGO_PCH_WHITELISTED +#include "mongo/db/repl/replset_commands.h" + #include "mongo/base/init.h" #include "mongo/base/status.h" #include "mongo/bson/util/bson_extract.h" @@ -44,12 +46,11 @@ #include "mongo/db/global_environment_experiment.h" #include "mongo/db/repl/handshake_args.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" -#include "mongo/db/repl/repl_coordinator_external_state_impl.h" #include "mongo/db/repl/repl_set_heartbeat_args.h" #include "mongo/db/repl/repl_set_heartbeat_response.h" #include "mongo/db/repl/repl_set_seed_list.h" -#include "mongo/db/repl/replset_commands.h" +#include "mongo/db/repl/replication_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_external_state_impl.h" #include "mongo/db/repl/scoped_conn.h" #include "mongo/db/repl/update_position_args.h" #include "mongo/db/storage/storage_engine.h" diff --git a/src/mongo/db/repl/resync.cpp b/src/mongo/db/repl/resync.cpp index 067b8b86dd1..d2039fcd4e5 100644 --- a/src/mongo/db/repl/resync.cpp +++ b/src/mongo/db/repl/resync.cpp @@ -30,7 +30,7 @@ #include "mongo/db/concurrency/d_concurrency.h" #include "mongo/db/repl/bgsync.h" #include "mongo/db/repl/master_slave.h" // replSettings -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/operation_context.h" namespace mongo { diff --git a/src/mongo/db/repl/rs_initialsync.cpp b/src/mongo/db/repl/rs_initialsync.cpp index c1203452c6b..b33d096a167 100644 --- a/src/mongo/db/repl/rs_initialsync.cpp +++ b/src/mongo/db/repl/rs_initialsync.cpp @@ -46,7 +46,7 @@ #include "mongo/db/repl/minvalid.h" #include "mongo/db/repl/oplog.h" #include "mongo/db/repl/oplogreader.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/exit.h" #include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" diff --git a/src/mongo/db/repl/rs_rollback.cpp b/src/mongo/db/repl/rs_rollback.cpp index 289317bdf42..30e5863f397 100644 --- a/src/mongo/db/repl/rs_rollback.cpp +++ b/src/mongo/db/repl/rs_rollback.cpp @@ -51,8 +51,8 @@ #include "mongo/db/repl/minvalid.h" #include "mongo/db/repl/oplog.h" #include "mongo/db/repl/oplogreader.h" -#include "mongo/db/repl/repl_coordinator.h" -#include "mongo/db/repl/repl_coordinator_impl.h" +#include "mongo/db/repl/replication_coordinator.h" +#include "mongo/db/repl/replication_coordinator_impl.h" #include "mongo/db/repl/rslog.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/rs_sync.cpp b/src/mongo/db/repl/rs_sync.cpp index 2f6753e64b6..75154edcd20 100644 --- a/src/mongo/db/repl/rs_sync.cpp +++ b/src/mongo/db/repl/rs_sync.cpp @@ -48,7 +48,7 @@ #include "mongo/db/repl/minvalid.h" #include "mongo/db/repl/oplog.h" #include "mongo/db/repl/repl_settings.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/repl/rs_initialsync.h" #include "mongo/db/repl/sync_tail.h" #include "mongo/db/server_parameters.h" diff --git a/src/mongo/db/repl/sync_source_feedback.cpp b/src/mongo/db/repl/sync_source_feedback.cpp index c338396d9fb..6f606e2fe24 100644 --- a/src/mongo/db/repl/sync_source_feedback.cpp +++ b/src/mongo/db/repl/sync_source_feedback.cpp @@ -42,7 +42,7 @@ #include "mongo/db/dbhelpers.h" #include "mongo/db/operation_context_impl.h" #include "mongo/db/repl/bgsync.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/operation_context.h" #include "mongo/util/exit.h" #include "mongo/util/log.h" diff --git a/src/mongo/db/repl/sync_tail.cpp b/src/mongo/db/repl/sync_tail.cpp index 63284a674f6..966bf144136 100644 --- a/src/mongo/db/repl/sync_tail.cpp +++ b/src/mongo/db/repl/sync_tail.cpp @@ -50,7 +50,7 @@ #include "mongo/db/repl/bgsync.h" #include "mongo/db/repl/minvalid.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/stats/timer_stats.h" #include "mongo/db/operation_context_impl.h" #include "mongo/util/exit.h" diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h index 0a0845f421a..16633934a21 100644 --- a/src/mongo/db/repl/topology_coordinator.h +++ b/src/mongo/db/repl/topology_coordinator.h @@ -31,9 +31,9 @@ #include <string> #include "mongo/base/disallow_copying.h" -#include "mongo/db/repl/repl_coordinator.h" -#include "mongo/db/repl/replication_executor.h" #include "mongo/db/repl/repl_set_heartbeat_response.h" +#include "mongo/db/repl/replication_coordinator.h" +#include "mongo/db/repl/replication_executor.h" #include "mongo/stdx/functional.h" #include "mongo/util/net/hostandport.h" #include "mongo/util/time_support.h" diff --git a/src/mongo/db/repl/topology_coordinator_impl.h b/src/mongo/db/repl/topology_coordinator_impl.h index 3e6c4dc824a..1076f08d1dd 100644 --- a/src/mongo/db/repl/topology_coordinator_impl.h +++ b/src/mongo/db/repl/topology_coordinator_impl.h @@ -34,8 +34,8 @@ #include "mongo/bson/optime.h" #include "mongo/db/repl/member_heartbeat_data.h" #include "mongo/db/repl/member_state.h" -#include "mongo/db/repl/repl_coordinator.h" #include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/replication_coordinator.h" #include "mongo/db/repl/topology_coordinator.h" #include "mongo/util/time_support.h" diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp index d8fcd5c193f..e4e6a561757 100644 --- a/src/mongo/db/restapi.cpp +++ b/src/mongo/db/restapi.cpp @@ -47,7 +47,7 @@ #include "mongo/db/dbhelpers.h" #include "mongo/db/dbwebserver.h" #include "mongo/db/repl/master_slave.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/util/log.h" #include "mongo/util/md5.hpp" #include "mongo/util/mongoutils/html.h" diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp index d3da1f13137..71fe57003dd 100644 --- a/src/mongo/db/ttl.cpp +++ b/src/mongo/db/ttl.cpp @@ -48,7 +48,7 @@ #include "mongo/db/dbdirectclient.h" #include "mongo/db/operation_context_impl.h" #include "mongo/db/ops/delete.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_parameters.h" #include "mongo/util/background.h" #include "mongo/util/exit.h" diff --git a/src/mongo/db/write_concern.cpp b/src/mongo/db/write_concern.cpp index 48a23a1807f..ed4fb8ac3a3 100644 --- a/src/mongo/db/write_concern.cpp +++ b/src/mongo/db/write_concern.cpp @@ -34,7 +34,7 @@ #include "mongo/db/commands/server_status_metric.h" #include "mongo/db/global_environment_experiment.h" #include "mongo/db/operation_context.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/server_options.h" #include "mongo/db/stats/timer_stats.h" #include "mongo/db/storage/storage_engine.h" diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp index dc92aee5375..6e419a6cc4a 100644 --- a/src/mongo/dbtests/dbtests.cpp +++ b/src/mongo/dbtests/dbtests.cpp @@ -41,8 +41,8 @@ #include "mongo/db/commands.h" #include "mongo/db/global_environment_d.h" #include "mongo/db/global_environment_experiment.h" -#include "mongo/db/repl/repl_coordinator_global.h" -#include "mongo/db/repl/repl_coordinator_mock.h" +#include "mongo/db/repl/replication_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_mock.h" #include "mongo/dbtests/framework.h" #include "mongo/util/gcov.h" #include "mongo/util/quick_exit.h" diff --git a/src/mongo/dbtests/repltests.cpp b/src/mongo/dbtests/repltests.cpp index 6a3f50d5959..9b72477905a 100644 --- a/src/mongo/dbtests/repltests.cpp +++ b/src/mongo/dbtests/repltests.cpp @@ -40,8 +40,8 @@ #include "mongo/db/json.h" #include "mongo/db/repl/master_slave.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" -#include "mongo/db/repl/repl_coordinator_mock.h" +#include "mongo/db/repl/replication_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_mock.h" #include "mongo/db/repl/sync.h" #include "mongo/db/ops/update.h" #include "mongo/db/catalog/collection.h" diff --git a/src/mongo/s/d_migrate.cpp b/src/mongo/s/d_migrate.cpp index 0821c824c40..c940aef971e 100644 --- a/src/mongo/s/d_migrate.cpp +++ b/src/mongo/s/d_migrate.cpp @@ -68,7 +68,7 @@ #include "mongo/db/query/query_knobs.h" #include "mongo/db/range_deleter_service.h" #include "mongo/db/repl/oplog.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/db/operation_context_impl.h" #include "mongo/db/write_concern.h" #include "mongo/logger/ramlog.h" diff --git a/src/mongo/s/d_state.cpp b/src/mongo/s/d_state.cpp index e45afddb60e..88aee91fa74 100644 --- a/src/mongo/s/d_state.cpp +++ b/src/mongo/s/d_state.cpp @@ -52,7 +52,7 @@ #include "mongo/db/db.h" #include "mongo/db/operation_context.h" #include "mongo/db/wire_version.h" -#include "mongo/db/repl/repl_coordinator_global.h" +#include "mongo/db/repl/replication_coordinator_global.h" #include "mongo/client/connpool.h" #include "mongo/s/chunk_version.h" #include "mongo/s/config.h" |