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

feat(proto): add additional host/port and replicaset name in data source proto #11990

Merged
merged 5 commits into from
May 15, 2024

Conversation

h3n4l
Copy link
Member

@h3n4l h3n4l commented May 14, 2024

MongoDB replica set can specify multiple-host/port explicitly, one way to support this is modify our host, port to repeated field, but requires a lots of work. So I add two new fields named additional_hosts and additional_ports. Also, it is not common in RDBMS.

Signed-off-by: h3n4l <oysterdays@gmail.com>
@h3n4l
Copy link
Member Author

h3n4l commented May 15, 2024

PTAL @d-bytebase @RainbowDashy

@h3n4l h3n4l requested a review from d-bytebase May 15, 2024 08:20
Signed-off-by: h3n4l <oysterdays@gmail.com>
Signed-off-by: h3n4l <oysterdays@gmail.com>
h3n4l added 2 commits May 15, 2024 16:36
Signed-off-by: h3n4l <oysterdays@gmail.com>
Signed-off-by: h3n4l <oysterdays@gmail.com>
@h3n4l h3n4l enabled auto-merge (squash) May 15, 2024 08:38
@h3n4l h3n4l merged commit 4a13044 into bytebase:main May 15, 2024
14 checks passed
@h3n4l h3n4l deleted the h3n4l/byt-5539-support-mongodb-cluster branch May 15, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants