The metadata is not in the chunks collection - it is in the files collection.
There are no other fields in the chunks collection - chunks are just
parts of the file - the descriptive stuff is in files. If you want to
maximize the chance that user's files are on as few shards as
possible, you might consider using the user ID or username as a prefix
for the files _id field (as this will be the files_id value in chunks
collection).
Asya
> --
> --
> 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
> See also the IRC channel --
freenode.net#mongodb
>
> ---
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mongodb-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.