-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GridFS issue on Mongo DB 2.6.3 #61
Comments
I haven't used any of the latest versions so can't comment. On Jul 26, 2014, at 8:28 AM, Tru Pheenix notifications@github.com wrote:
|
Seems to be working now. :-| No clue why it wasn't working earlier. I think the upgrade caused an unwanted issue. When I tried running on a fresh installation it worked. |
Thanks for updating
|
When I try to connect to GridFS on 2.6.3, I get an error while creating index on the "fs" collection.
The error is something like this:
pymongo.errors.OperationFailure: not authorized to create index on dbname.fs.chunks
Then I looked up the init.py file for the GridFS object and I found the offending line:
self.__chunks.create_index(filter.sort(ASCENDING("files_id") + ASCENDING("n")),
unique=True)
However it's not clear to me why this happens because finally it's an insert operation that takes place when we create_index. So does this mean that the authentication protocol I pushed earlier is now failing for 2.6.3? This driver works perfectly on 2.4.10
Any responses would be appreciated for those who might have observed similar behavior.
The text was updated successfully, but these errors were encountered: