Skip to content
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

AWS documentDB compatiblity #142

Open
rajmaniar opened this issue Mar 1, 2019 · 5 comments
Open

AWS documentDB compatiblity #142

rajmaniar opened this issue Mar 1, 2019 · 5 comments

Comments

@rajmaniar
Copy link
Contributor

When testing mongo_dart with aws documentDB the server returns an error on any query:
errmsg: Legacy opcodes are not supported, code: 303

I suspect aws has only implemented the newer OP_MSG wire protocol:
https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-msg

The golang, node, and other drivers seem to support this already.

@thosakwe
Copy link
Contributor

thosakwe commented Mar 2, 2019 via email

@rajmaniar
Copy link
Contributor Author

rajmaniar commented Mar 4, 2019

I dug around in the driver a little bit and felt it's a bit non-trivial to add and update everything to use OP_MSG; otherwise, I would have done a PR for it.

@giorgiofran
Copy link
Contributor

The OP_MSG has been partially implemented (at least for all CRUD operations). Are you still interested in giving a try?

@FarhanSajid1
Copy link

@giorgiofran does that mean documentDB is supported?

@giorgiofran
Copy link
Contributor

I have not tested it, so I cannot guarantee you. But, if the problem was the one pointed out above, there are good chances to make it work with documentDb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants