summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2018-03-13 14:01:44 -0400
committerBlake Oler <blake.oler@mongodb.com>2018-03-15 15:32:10 -0400
commitec4e33953073ae3f84f6d76d50aeb4ded6f6aa02 (patch)
treee5c4bc552cc51aa29d2f7a72c978206313860595 /src/mongo/s/request_types
parentab7e4e3598c631a0b01ae10b76b60ee90df19866 (diff)
downloadmongo-ec4e33953073ae3f84f6d76d50aeb4ded6f6aa02.tar.gz
SERVER-33586 Add _cloneCatalogData command
Diffstat (limited to 'src/mongo/s/request_types')
-rw-r--r--src/mongo/s/request_types/clone_catalog_data.idl44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/mongo/s/request_types/clone_catalog_data.idl b/src/mongo/s/request_types/clone_catalog_data.idl
new file mode 100644
index 00000000000..f26f71333b9
--- /dev/null
+++ b/src/mongo/s/request_types/clone_catalog_data.idl
@@ -0,0 +1,44 @@
+# Copyright (C) 2018 MongoDB Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License, version 3,
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the copyright holders give permission to link the
+# code of portions of this program with the OpenSSL library under certain
+# conditions as described in each individual source file and distribute
+# linked combinations including the program with the OpenSSL library. You
+# must comply with the GNU Affero General Public License in all respects for
+# all of the code used other than as permitted herein. If you modify file(s)
+# with this exception, you may extend this exception to your version of the
+# file(s), but you are not obligated to do so. If you do not wish to do so,
+# delete this exception statement from your version. If you delete this
+# exception statement from all source files in the program, then also delete
+# it in the license file.
+
+# cloneCatalogData IDL File
+
+global:
+ cpp_namespace: "mongo"
+
+imports:
+ - "mongo/idl/basic_types.idl"
+
+commands:
+ cloneCatalogData:
+ description: "The internal cloneCatalogData command on a shard"
+ namespace: type
+ type: namespacestring
+ strict: false
+ fields:
+ from:
+ type: string
+ description: "The connection string of the database to clone from."