Skip to content

Instantly share code, notes, and snippets.

@danared
Created April 2, 2015 22:00
Show Gist options
  • Save danared/cf0e9adbb2020014ef89 to your computer and use it in GitHub Desktop.
Save danared/cf0e9adbb2020014ef89 to your computer and use it in GitHub Desktop.
shard01:PRIMARY> use local
switched to db local
shard01:PRIMARY> db.oplog.rs.find().pretty()
...beginning is the same as above, omitted for brevity ...
{
"ts" : Timestamp(1422998892, 3),
"h" : NumberLong("1499304029305069766"),
"v" : 2,
"op" : "d",
"ns" : "test.mycollection",
"fromMigrate" : true,
"o" : {
"_id" : 5
}
}
{
"ts" : Timestamp(1422999422, 1),
"h" : NumberLong("-6691556866108433789"),
"v" : 2,
"op" : "i",
"ns" : "test.mycollection",
"o" : {
"_id" : 6,
"data" : "hello"
}
}
{
"ts" : Timestamp(1422999426, 1),
"h" : NumberLong("-3908881761176526422"),
"v" : 2,
"op" : "i",
"ns" : "test.mycollection",
"o" : {
"_id" : 8,
"data" : "hello"
}
}
{
"ts" : Timestamp(1422999429, 1),
"h" : NumberLong("-4997431625184830993"),
"v" : 2,
"op" : "i",
"ns" : "test.mycollection",
"o" : {
"_id" : 10,
"data" : "hello"
}
}
shard01:PRIMARY>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment