purpose of local.slaves and local.me collections

10 views
Skip to first unread message

Zardosht Kasheff

unread,
May 6, 2013, 12:58:36 PM5/6/13
to mongo...@googlegroups.com
Hello all,

What is the purpose of the "local.slaves" collection in replica sets?
I know what it does, it saves the OpTime that slaves have synced to.
Is it there just for diagnostic purposes, or does some piece of the
internal system actually use it? I could not find any code that
actually used it, which makes me suspect it is there for just
diagnostic purposes. If that is the case, why would one examine that
over rs.status()?

Also, what is the purpose for having the local.me collection be
written to by the oplogreader? I could not find any code using that
either.

Thanks
-Zardosht
Reply all
Reply to author
Forward
0 new messages