summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/commands/set_feature_compatibility_version_command.cpp2
-rw-r--r--src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp2
-rw-r--r--src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp2
-rw-r--r--src/mongo/db/s/database_sharding_state.cpp2
-rw-r--r--src/mongo/s/SConscript2
-rw-r--r--src/mongo/s/catalog/sharding_catalog_test.cpp2
-rw-r--r--src/mongo/s/catalog/type_database.cpp2
-rw-r--r--src/mongo/s/catalog_cache.cpp2
-rw-r--r--src/mongo/s/config_server_catalog_cache_loader.cpp2
-rw-r--r--src/mongo/s/database_version_helpers.cpp (renamed from src/mongo/s/versioning.cpp)2
-rw-r--r--src/mongo/s/database_version_helpers.h (renamed from src/mongo/s/versioning.h)0
11 files changed, 10 insertions, 10 deletions
diff --git a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
index b2d51674352..2d62ac9f343 100644
--- a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
+++ b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
@@ -46,8 +46,8 @@
#include "mongo/rpc/get_status_from_command_result.h"
#include "mongo/s/catalog/type_collection.h"
#include "mongo/s/catalog_cache.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/grid.h"
-#include "mongo/s/versioning.h"
#include "mongo/util/exit.h"
#include "mongo/util/fail_point_service.h"
#include "mongo/util/scopeguard.h"
diff --git a/src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp b/src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp
index 687b51c5920..ad61fe0d787 100644
--- a/src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp
+++ b/src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp
@@ -41,8 +41,8 @@
#include "mongo/s/catalog/type_database.h"
#include "mongo/s/catalog_cache.h"
#include "mongo/s/client/shard.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/grid.h"
-#include "mongo/s/versioning.h"
#include "mongo/util/log.h"
namespace mongo {
diff --git a/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp b/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
index 8b2afeb2174..9455caba0f7 100644
--- a/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
+++ b/src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp
@@ -65,9 +65,9 @@
#include "mongo/s/client/shard_connection.h"
#include "mongo/s/client/shard_registry.h"
#include "mongo/s/cluster_identity_loader.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/grid.h"
#include "mongo/s/shard_util.h"
-#include "mongo/s/versioning.h"
#include "mongo/s/write_ops/batched_command_request.h"
#include "mongo/s/write_ops/batched_command_response.h"
#include "mongo/util/fail_point_service.h"
diff --git a/src/mongo/db/s/database_sharding_state.cpp b/src/mongo/db/s/database_sharding_state.cpp
index fb8c6f35c42..ec669181bee 100644
--- a/src/mongo/db/s/database_sharding_state.cpp
+++ b/src/mongo/db/s/database_sharding_state.cpp
@@ -34,8 +34,8 @@
#include "mongo/db/operation_context.h"
#include "mongo/db/s/operation_sharding_state.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/stale_exception.h"
-#include "mongo/s/versioning.h"
#include "mongo/util/fail_point_service.h"
#include "mongo/util/log.h"
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript
index 5309e78a5ad..5a9854df0ac 100644
--- a/src/mongo/s/SConscript
+++ b/src/mongo/s/SConscript
@@ -119,6 +119,7 @@ env.Library(
'catalog/type_shard_database.cpp',
'catalog/type_tags.cpp',
'chunk_version.cpp',
+ 'database_version_helpers.cpp',
'request_types/add_shard_request_type.cpp',
'request_types/add_shard_to_zone_request_type.cpp',
'request_types/balance_chunk_request_type.cpp',
@@ -131,7 +132,6 @@ env.Library(
'request_types/split_chunk_request_type.cpp',
'request_types/update_zone_key_range_request_type.cpp',
'shard_id.cpp',
- 'versioning.cpp',
env.Idlc('catalog/type_chunk_base.idl')[0],
env.Idlc('request_types/clone_catalog_data.idl')[0],
env.Idlc('request_types/create_collection.idl')[0],
diff --git a/src/mongo/s/catalog/sharding_catalog_test.cpp b/src/mongo/s/catalog/sharding_catalog_test.cpp
index 21087882b32..dd844ddb41d 100644
--- a/src/mongo/s/catalog/sharding_catalog_test.cpp
+++ b/src/mongo/s/catalog/sharding_catalog_test.cpp
@@ -52,8 +52,8 @@
#include "mongo/s/catalog/type_tags.h"
#include "mongo/s/chunk_version.h"
#include "mongo/s/client/shard_registry.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/sharding_router_test_fixture.h"
-#include "mongo/s/versioning.h"
#include "mongo/s/write_ops/batched_command_response.h"
#include "mongo/stdx/future.h"
#include "mongo/util/log.h"
diff --git a/src/mongo/s/catalog/type_database.cpp b/src/mongo/s/catalog/type_database.cpp
index 1c9412d5eec..272685a5fc0 100644
--- a/src/mongo/s/catalog/type_database.cpp
+++ b/src/mongo/s/catalog/type_database.cpp
@@ -34,7 +34,7 @@
#include "mongo/bson/bsonobj.h"
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/bson/util/bson_extract.h"
-#include "mongo/s/versioning.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/util/assert_util.h"
namespace mongo {
diff --git a/src/mongo/s/catalog_cache.cpp b/src/mongo/s/catalog_cache.cpp
index 1e3db67511a..3980317ea00 100644
--- a/src/mongo/s/catalog_cache.cpp
+++ b/src/mongo/s/catalog_cache.cpp
@@ -41,8 +41,8 @@
#include "mongo/s/catalog/type_collection.h"
#include "mongo/s/catalog/type_database.h"
#include "mongo/s/client/shard_registry.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/grid.h"
-#include "mongo/s/versioning.h"
#include "mongo/util/concurrency/with_lock.h"
#include "mongo/util/log.h"
#include "mongo/util/scopeguard.h"
diff --git a/src/mongo/s/config_server_catalog_cache_loader.cpp b/src/mongo/s/config_server_catalog_cache_loader.cpp
index a2540972da1..f9baadd0d02 100644
--- a/src/mongo/s/config_server_catalog_cache_loader.cpp
+++ b/src/mongo/s/config_server_catalog_cache_loader.cpp
@@ -33,8 +33,8 @@
#include "mongo/db/client.h"
#include "mongo/db/operation_context.h"
#include "mongo/s/catalog/sharding_catalog_client.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/grid.h"
-#include "mongo/s/versioning.h"
#include "mongo/stdx/memory.h"
#include "mongo/util/fail_point_service.h"
#include "mongo/util/log.h"
diff --git a/src/mongo/s/versioning.cpp b/src/mongo/s/database_version_helpers.cpp
index ce51a7b4707..c8dd925c176 100644
--- a/src/mongo/s/versioning.cpp
+++ b/src/mongo/s/database_version_helpers.cpp
@@ -28,7 +28,7 @@
#include "mongo/platform/basic.h"
-#include "mongo/s/versioning.h"
+#include "mongo/s/database_version_helpers.h"
#include "mongo/s/database_version_gen.h"
diff --git a/src/mongo/s/versioning.h b/src/mongo/s/database_version_helpers.h
index 472b728e84f..472b728e84f 100644
--- a/src/mongo/s/versioning.h
+++ b/src/mongo/s/database_version_helpers.h