From 74647daba8f1dc1bde19e270913838adf39ca625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E7=81=AB=E5=BA=9A?= Date: Tue, 6 Mar 2018 12:11:43 +0800 Subject: [PATCH] =?UTF-8?q?sh.shardCollection()=E6=96=B9=E6=B3=95=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sh.shardCollection()应该是对集合启用一个分片。而不是像文档描述的一样查询分片的状态信息 --- locale/zh/LC_MESSAGES/reference/method/js-sharding.po | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/locale/zh/LC_MESSAGES/reference/method/js-sharding.po b/locale/zh/LC_MESSAGES/reference/method/js-sharding.po index 7281fe9b71a..cf5139853af 100644 --- a/locale/zh/LC_MESSAGES/reference/method/js-sharding.po +++ b/locale/zh/LC_MESSAGES/reference/method/js-sharding.po @@ -307,8 +307,7 @@ msgstr "" #: ../source/includes/toc/table-method-sh.rst:50 msgid "Enables sharding for a collection." msgstr "" -"就像 :method:`db.printShardingStatus()` 一样,返回 :term:`sharded cluster` 的" -"状态信息." +"对一个集合启用分片" # c7c07b79d2434656a5b93e9cdd7d9715 #: ../source/includes/toc/table-method-sh.rst:52