collections not visible in mongos

127 views
Skip to first unread message

erfahrung

unread,
Jan 27, 2012, 7:22:39 AM1/27/12
to mongodb-user
Hi,

I have a 2 shard architecture with a set of 3 server replica-set per
shard.
I accidentally created some collections in a secondary replica-set for
a sharded database.
Now I am not able to see any of those new collections in my mongos
"show collections"output.
Is this expected ?
If yes, then why doesn't the config server scan both the shards to see
for new additions to the DB.

Thanks!

Eliot Horowitz

unread,
Jan 27, 2012, 12:29:01 PM1/27/12
to mongod...@googlegroups.com
That's expected and correct.

You are not allowed to put collections on the secondary, so mongos
should not look there.

> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>

Reply all
Reply to author
Forward
0 new messages