[SERVER-10846] Sharded cluster with unsharded database Created: 23/Sep/13  Updated: 23/Sep/13  Resolved: 23/Sep/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.4.3
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Marco Schirrmeister Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux RHEL6


Issue Links:
Duplicate
Participants:

 Description   

We have a sharded cluster setup with 2 shards.
We have already a database with sharding and tagging on it enabled.

Now we have the requirement for a new database that does not need to be sharded. But it should live on the same sharded cluster environment.

What I did so far is,

  • connected to one mongos router
  • created the database
  • created a user in this database

I tried then to verify the user credentials. It only worked on one mongos. Not on the others.
I tried to created then the user again on one of the other mongos routers.
It worked on one, on the other I got the message the users already exists.

Our application that started writing data into a collection.
This collection is not visible on one mongos router. Probably the one where I first created the user.

Any idea why it's not visible on one mongos?

What is the correct way to have a unsharded database/collection on a sharded cluster?

Thanks
Marco


Generated at Thu Feb 08 03:24:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.