The out-of-the-box _User collection in Mongo for Parse Server has a unique index on both username and email. Given that, what's the ideal strategy for sharding this collection? My initial plan was to just use _id (not hashed) but obviously that doesn't work with the unique indexes.
Asked
Active
Viewed 220 times
1 Answers
-1
You can shard it by "_id": "hashed"
, but it will give the warning Can't ensure unique email or username
or something of that sort.

Cory Knutson
- 1,876
- 13
- 20