-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:Kubernetes Cluster using bitnami helm,mongo 6.0.1
-
Server Triage
Problem Statement/Rationale
recently the sh.enableSharding() is working on a database which i have created but by applying sh.ShardCollection() it displays "MongoServerError: sharding not enabled for db".
Steps to Reproduce
Create any db ,then apply sh.enableSharding() and after that create collection and apply sh.shardcollection() with the help of shard key.
Expected Results
Shard Key would be enable on my shardcollection.
Actual Results
"MongoServerError: sharding not enabled for db".
Additional Notes