summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-11-10 10:52:25 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-12 00:30:39 +0000
commitcb893fa0558f37211a065c230bbdbbd505459c7d (patch)
tree76c3efcd2736c47fef126eedf1839d9f5a5ffe43
parentdc9b2aab8cdd0fefe704af3ff54a95bdd34b8db6 (diff)
downloadmongo-cb893fa0558f37211a065c230bbdbbd505459c7d.tar.gz
SERVER-51264 Change mongos related ismaster file names to hello
-rw-r--r--src/mongo/s/SConscript6
-rw-r--r--src/mongo/s/commands/SConscript2
-rw-r--r--src/mongo/s/commands/cluster_hello_cmd.cpp (renamed from src/mongo/s/commands/cluster_is_master_cmd.cpp)0
-rw-r--r--src/mongo/s/mongos_hello_response.cpp (renamed from src/mongo/s/mongos_is_master_response.cpp)2
-rw-r--r--src/mongo/s/mongos_hello_response.h (renamed from src/mongo/s/mongos_is_master_response.h)0
-rw-r--r--src/mongo/s/mongos_topology_coordinator.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript
index 2692cdf8a34..6eb712a83bc 100644
--- a/src/mongo/s/SConscript
+++ b/src/mongo/s/SConscript
@@ -352,9 +352,9 @@ env.Library(
)
env.Library(
- target='mongos_is_master_response',
+ target='mongos_hello_response',
source=[
- 'mongos_is_master_response.cpp',
+ 'mongos_hello_response.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
@@ -373,7 +373,7 @@ env.Library(
'$BUILD_DIR/mongo/rpc/metadata',
'$BUILD_DIR/mongo/transport/transport_layer_common',
'$BUILD_DIR/mongo/util/fail_point',
- 'mongos_is_master_response',
+ 'mongos_hello_response',
],
)
diff --git a/src/mongo/s/commands/SConscript b/src/mongo/s/commands/SConscript
index 19925d42727..a32b90827c8 100644
--- a/src/mongo/s/commands/SConscript
+++ b/src/mongo/s/commands/SConscript
@@ -58,7 +58,7 @@ env.Library(
'cluster_getmore_cmd.cpp',
'cluster_index_filter_cmd.cpp',
'cluster_is_db_grid_cmd.cpp',
- 'cluster_is_master_cmd.cpp',
+ 'cluster_hello_cmd.cpp',
'cluster_kill_op.cpp',
'cluster_killcursors_cmd.cpp',
'cluster_killoperations_cmd.cpp',
diff --git a/src/mongo/s/commands/cluster_is_master_cmd.cpp b/src/mongo/s/commands/cluster_hello_cmd.cpp
index 2ab198c29cd..2ab198c29cd 100644
--- a/src/mongo/s/commands/cluster_is_master_cmd.cpp
+++ b/src/mongo/s/commands/cluster_hello_cmd.cpp
diff --git a/src/mongo/s/mongos_is_master_response.cpp b/src/mongo/s/mongos_hello_response.cpp
index 2b1331fdb2e..a58369cd3e4 100644
--- a/src/mongo/s/mongos_is_master_response.cpp
+++ b/src/mongo/s/mongos_hello_response.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#include "mongo/s/mongos_is_master_response.h"
+#include "mongo/s/mongos_hello_response.h"
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/util/str.h"
diff --git a/src/mongo/s/mongos_is_master_response.h b/src/mongo/s/mongos_hello_response.h
index 4d640b1a944..4d640b1a944 100644
--- a/src/mongo/s/mongos_is_master_response.h
+++ b/src/mongo/s/mongos_hello_response.h
diff --git a/src/mongo/s/mongos_topology_coordinator.h b/src/mongo/s/mongos_topology_coordinator.h
index 51b1504c055..b01cd6ed23b 100644
--- a/src/mongo/s/mongos_topology_coordinator.h
+++ b/src/mongo/s/mongos_topology_coordinator.h
@@ -32,7 +32,7 @@
#include "mongo/db/operation_context.h"
#include "mongo/platform/mutex.h"
#include "mongo/rpc/topology_version_gen.h"
-#include "mongo/s/mongos_is_master_response.h"
+#include "mongo/s/mongos_hello_response.h"
#include "mongo/transport/hello_metrics.h"
#include "mongo/util/concurrency/with_lock.h"
#include <memory>