8000 fix: bump minimum wire version to 7 and handle ismaster requests by darktohka · Pull Request #207 · PoloDB/PoloDB · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: bump minimum wire version to 7 and handle ismaster requests #207

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

Merged
merged 2 commits into from
May 9, 2025

Conversation

darktohka
Copy link
Contributor

Wire version 6 uses the OP_REPLY and related deprecated legacy messages:
https://www.mongodb.com/docs/manual/legacy-opcodes/

PoloDB does not support these messages, so it doesn't make sense for us to advertise wire version 6 compatibility. Wire version 7 adds support for OP_MSG messages that PoloDB uses.

Also extend the HelloHandler to handle ismaster requests, often used by the mongosh tool.

@vincentdchan
Copy link
Collaborator

LGTM!

@vincentdchan vincentdchan merged commit 209f93e into PoloDB:master May 9, 2025
3 checks passed
@vincentdchan
Copy link
Collaborator

Published in v5.1.4. Thank you for your contributions!

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

Successfully merging this pull request may close these issues.

2 participants
0