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

Error "Don’t know elementType=17" with MongoDB version checking #38

Closed
ctorrao opened this issue Feb 4, 2019 · 2 comments
Closed
Labels

Comments

@ctorrao
Copy link
Member

ctorrao commented Feb 4, 2019

In some scenarios, the MongoDB version checker, cannot read correctly the BSON format for a specific datatype, in this case the timestamp format.

Error message: "[Error] Don’t know elementType=17"

MongoDB version: v3.4.15

DataTypes: https://docs.mongodb.com/manual/reference/operator/query/type/

@ctorrao ctorrao added the bug label Feb 4, 2019
@Symbianx
Copy link
Contributor

Symbianx commented Feb 4, 2019

There is some field that is being returned now in the serverStatus command which was not sent before.
We should add support for the timestamp datatype (and all other types missing).

These are all the types we should support, including the one we don't have now.

This is the command we use to get the MongoDB version.

ctorrao added a commit that referenced this issue Feb 21, 2019
…more lightweight and without any timestamp type [#38]

Bump version to 1.2.1
Symbianx added a commit that referenced this issue Feb 21, 2019
Fix MongoDB version checker to use the command "buildInfo" [#38]
@ctorrao
Copy link
Member Author

ctorrao commented Aug 22, 2019

it was solved in NAME v1.2.1

@ctorrao ctorrao closed this as completed Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants