1
- #
1
+ #
2
2
msgid ""
3
3
msgstr ""
4
4
"Project-Id-Version : mongodb-manual 2.6\n "
5
5
"Report-Msgid-Bugs-To : \n "
6
6
"POT-Creation-Date : 2014-09-03 15:39-0400\n "
7
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE \n "
7
+ "PO-Revision-Date : 2014-12-29 11:33+0800 \n "
8
8
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
9
9
"
Language-Team :
LANGUAGE <[email protected] >\n "
10
10
"MIME-Version : 1.0\n "
11
11
"Content-Type : text/plain; charset=UTF-8\n "
12
12
"Content-Transfer-Encoding : 8bit\n "
13
+ "X-Generator : Poedit 1.6.9\n "
13
14
14
15
#: ../source/tutorial/configure-replica-set-tag-sets.txt:8
15
16
msgid "Configure Replica Set Tag Sets"
16
- msgstr ""
17
+ msgstr "配置复制集标签设置 "
17
18
18
19
#: ../source/tutorial/configure-replica-set-tag-sets.txt:12
19
20
msgid ""
20
- "Tag sets let you customize :term:`write concern` and :term:`read preferences"
21
- " <read preference>` for a :term:`replica set`. MongoDB stores tag sets in "
22
- "the replica set configuration object, which is the document returned by "
23
- ":method: `rs.conf()`, in the :data:`members[n].tags "
24
- "<local.system.replset.members[n]. tags>` sub-document."
21
+ "Tag sets let you customize :term:`write concern` and :term:`read preferences "
22
+ "<read preference>` for a :term:`replica set`. MongoDB stores tag sets in the "
23
+ "replica set configuration object, which is the document returned by :method: "
24
+ "`rs.conf()`, in the :data:`members[n].tags <local.system.replset.members[n]. "
25
+ "tags>` sub-document."
25
26
msgstr ""
27
+ "标签设定让我们可以为 :term:`replica set` 定制 :term:`write concern` 和 :term:"
28
+ "`read preferences <read preference>` 。MongoDB将标签存储在复制集配置对象中,"
29
+ "可以通过 :method:`rs.conf()` 查看返回信息中的 :data:`members[n].tags <local."
30
+ "system.replset.members[n].tags>` 。"
26
31
27
32
#: ../source/tutorial/configure-replica-set-tag-sets.txt:18
28
33
msgid ""
29
34
"This section introduces the configuration of tag sets. For an overview on "
30
35
"tag sets and their use, see :ref:`Replica Set Write Concern <replica-set-"
31
36
"write-concern>` and :ref:`replica-set-read-preference-tag-sets`."
32
37
msgstr ""
38
+ "本文将介绍复制集标签的配置。有关标签的设定与其用法请参考 :ref:`Replica Set "
39
+ "Write Concern <replica-set-write-concern>` 和 :ref:`replica-set-read-"
40
+ "preference-tag-sets` 。"
33
41
34
42
#: ../source/tutorial/configure-replica-set-tag-sets.txt:24
35
43
msgid "Differences Between Read Preferences and Write Concerns"
36
- msgstr ""
44
+ msgstr "安全写级别和读优先级之间的差异。 "
37
45
38
46
#: ../source/tutorial/configure-replica-set-tag-sets.txt:26
39
47
msgid ""
40
48
"Custom read preferences and write concerns evaluate tags sets in different "
41
49
"ways:"
42
- msgstr ""
50
+ msgstr "自定义读优先级和安全写级别使用标签方式是不同的。 "
43
51
44
52
#: ../source/tutorial/configure-replica-set-tag-sets.txt:29
45
53
msgid ""
46
- "Read preferences consider the value of a tag when selecting a member to read"
47
- " from."
48
- msgstr ""
54
+ "Read preferences consider the value of a tag when selecting a member to read "
55
+ "from."
56
+ msgstr "当选择一个节点进行读取的时候,读优先级考虑的是标签的值。 "
49
57
50
58
#: ../source/tutorial/configure-replica-set-tag-sets.txt:32
51
59
msgid ""
52
60
"Write concerns do not use the value of a tag to select a member except to "
53
61
"consider whether or not the value is unique."
54
- msgstr ""
62
+ msgstr "安全写级别不考虑标签的值,而是考虑标签值是否唯一。 "
55
63
56
64
#: ../source/tutorial/configure-replica-set-tag-sets.txt:35
57
65
msgid ""
58
66
"For example, a tag set for a read operation may resemble the following "
59
67
"document:"
60
- msgstr ""
68
+ msgstr "举个栗子,一个读操作使用如下的条件: "
61
69
62
70
#: ../source/tutorial/configure-replica-set-tag-sets.txt:42
63
71
msgid ""
64
72
"To fulfill such a read operation, a member would need to have both of these "
65
73
"tags. Any of the following tag sets would satisfy this requirement:"
66
74
msgstr ""
75
+ "为了完成这样的读操作,该节点的标签必须包含这两个标签。下列任意标签组合都可以"
76
+ "实现:"
67
77
68
78
#: ../source/tutorial/configure-replica-set-tag-sets.txt:52
69
79
msgid "The following tag sets would *not* be able to fulfill this query:"
70
- msgstr ""
80
+ msgstr "这样的标签将*不*会满足之前的查询: "
71
81
72
82
#: ../source/tutorial/configure-replica-set-tag-sets.txt:63
73
83
msgid "Add Tag Sets to a Replica Set"
74
- msgstr ""
84
+ msgstr "为复制集新增标签 "
75
85
76
86
#: ../source/tutorial/configure-replica-set-tag-sets.txt:65
77
87
msgid "Given the following replica set configuration:"
78
88
msgstr ""
79
89
80
90
#: ../source/tutorial/configure-replica-set-tag-sets.txt:88
81
91
msgid ""
82
- "You could add tag sets to the members of this replica set with the following"
83
- " command sequence in the :program:`mongo` shell:"
92
+ "You could add tag sets to the members of this replica set with the following "
93
+ "command sequence in the :program:`mongo` shell:"
84
94
msgstr ""
85
95
86
96
#: ../source/tutorial/configure-replica-set-tag-sets.txt:99
@@ -112,8 +122,8 @@ msgstr ""
112
122
#: ../source/tutorial/configure-replica-set-tag-sets.txt:145
113
123
msgid ""
114
124
"Create a custom write concern to require confirmation from two data centers "
115
- "using replica set tags, using the following sequence of operations in the "
116
- ": program:`mongo` shell:"
125
+ "using replica set tags, using the following sequence of operations in the : "
126
+ "program:`mongo` shell:"
117
127
msgstr ""
118
128
119
129
#: ../source/tutorial/configure-replica-set-tag-sets.txt:149
@@ -135,8 +145,7 @@ msgstr ""
135
145
#: ../source/tutorial/configure-replica-set-tag-sets.txt:208
136
146
#: ../source/tutorial/configure-replica-set-tag-sets.txt:290
137
147
msgid ""
138
- "Reconfigure the replica set using the modified ``conf`` configuration "
139
- "object:"
148
+ "Reconfigure the replica set using the modified ``conf`` configuration object:"
140
149
msgstr ""
141
150
142
151
#: ../source/tutorial/configure-replica-set-tag-sets.txt:182
@@ -148,9 +157,9 @@ msgstr ""
148
157
149
158
#: ../source/tutorial/configure-replica-set-tag-sets.txt:190
150
159
msgid ""
151
- "Alternatively, if you want to ensure that each write operation propagates to"
152
- " at least 2 racks in each facility, reconfigure the replica set as follows "
153
- "in the :program:`mongo` shell:"
160
+ "Alternatively, if you want to ensure that each write operation propagates to "
161
+ "at least 2 racks in each facility, reconfigure the replica set as follows in "
162
+ "the :program:`mongo` shell:"
154
163
msgstr ""
155
164
156
165
#: ../source/tutorial/configure-replica-set-tag-sets.txt:194
@@ -215,8 +224,8 @@ msgstr ""
215
224
msgid ""
216
225
"However, to create comparable write concern modes, you would specify a "
217
226
"different set of :data:`~local.system.replset.settings.getLastErrorModes` "
218
- "configuration. Consider the following sequence of operations in the "
219
- ":program: `mongo` shell:"
227
+ "configuration. Consider the following sequence of operations in the :program: "
228
+ "`mongo` shell:"
220
229
msgstr ""
221
230
222
231
#: ../source/tutorial/configure-replica-set-tag-sets.txt:272
0 commit comments