Skip to content

Commit 02e8288

Browse files
author
Sam Kleinman
committed
merge: DOCS-771
2 parents 9177b88 + 935991f commit 02e8288

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

source/reference/config-database.txt

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ Collections
4545
.. code-block:: javascript
4646

4747
{
48-
"_id" : "d.local-2012-12-11T14:09:21-0",
49-
"server" : "<hostanme>:<port>",
48+
"_id" : "<hostname>-<timestamp>-<increment>",
49+
"server" : "<hostname>:<port>",
5050
"clientAddr" : "127.0.0.1:63381",
5151
"time" : ISODate("2012-12-11T14:09:21.039Z"),
5252
"what" : "split",
@@ -70,7 +70,7 @@ Collections
7070
"<database>" : "<value>"
7171
},
7272
"lastmod" : Timestamp(1000, 1),
73-
"lastmodEpoch" : ObjectId("50c73e0bca6554d8d3b19a83")
73+
"lastmodEpoch" : ObjectId(<...>)
7474
},
7575
"right" : {
7676
"min" : {
@@ -80,27 +80,23 @@ Collections
8080
"<database>" : { $maxKey : 1 }
8181
},
8282
"lastmod" : Timestamp(1000, 2),
83-
"lastmodEpoch" : ObjectId("50c73e0bca6554d8d3b19a83")
83+
"lastmodEpoch" : ObjectId("<...>")
8484
}
8585
}
8686
}
8787

8888
Each document in the :data:`changelog` collection contains the
8989
following fields:
9090

91-
.. What? commenting out because the description isn't clear and it
92-
doesn't appear in the example above.
91+
.. data:: changelog._id
9392

94-
.. data:: changelog.changeID
95-
96-
hostname-time-increment
93+
The value of ``changelog._id`` is:
94+
``<hostname>-<timestamp>-<increment>``.
9795

9896
.. data:: changelog.server
9997

10098
The hostname of the server that holds this data.
10199

102-
.. FACTCHECK above.
103-
104100
.. data:: changelog.clientAddr
105101

106102
A string that holds the address of the client, a

0 commit comments

Comments
 (0)