Chapter 3: Sharding Lab - Shard a Collection

was able to create an index on a collection from the lab, however i cannot create the collection because it says the index doesnt exist:

what might I be doing wrong here??

thanks

Double check that you created the index on the m103 db.

PS: You might find the sh.shardCollection() syntax simpler.

1 Like

You are too fast. B-)

I see the post and as soon I see 007_jb replying …

Nice!

1 Like

You had a whole 14 mins to reply :joy:
Don’t worry, I’ll slow down.

1 Like

True

Don’t

1 Like

I verified the index does exist:

and still getting an error that the index doesnt exist:

Hopefully you can see it now…

image

image

1 Like

thank you for your help. lab completed successfully