Skip to content

Commit eda5e00

Browse files
committed
SERVER-11481 Do not register Top command on mongos
1 parent 5a2c6c1 commit eda5e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,6 @@ env.Library("coredb", [
423423
"db/querypattern.cpp",
424424
"db/queryutil.cpp",
425425
"db/stats/timer_stats.cpp",
426-
"db/stats/top.cpp",
427426
"s/shardconnection.cpp",
428427
]
429428
+ tcmallocServerStatus
@@ -623,6 +622,7 @@ serverOnlyFiles = [ "db/curop.cpp",
623622
"db/ops/update_lifecycle_impl.cpp",
624623

625624
# most commands are only for mongod
625+
"db/stats/top.cpp",
626626
"db/commands/apply_ops.cpp",
627627
"db/commands/dbhash.cpp",
628628
"db/commands/merge_chunks_cmd.cpp",

0 commit comments

Comments
 (0)