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

[orion] Replica Set only set with multihosts #74

Open
sromerotech opened this issue May 5, 2022 · 2 comments · May be fixed by #280
Open

[orion] Replica Set only set with multihosts #74

sromerotech opened this issue May 5, 2022 · 2 comments · May be fixed by #280
Assignees

Comments

@sromerotech
Copy link

I'm deploying mongodb in ReplicaSet mode with a headless service, so my mongodb host is mongodb-headless. I can't set de RS value because of this restriction. It would be great to set RS independently to the number of hosts.

@sromerotech sromerotech changed the title [orion] Replica set only set with multihosts [orion] Replica Set only set with multihosts May 5, 2022
@wistefan wistefan self-assigned this May 9, 2022
@wistefan
Copy link
Collaborator

wistefan commented May 9, 2022

Hello @sergiorb ,
I will take a look into it. If I remember correctly, this restriction was set due to orion having problems discovering the instances below the headless service. Therefor we call them via <POD_NAME>.mongodb-headless and list all of them there. But I will check if thats still the case.

@sbanoeon
Copy link

sbanoeon commented Jan 3, 2024

Hello @wistefan, can you please elaborate what does it mean that orion is having problems discovering the instances below headless service. I am also using headless service in front of orion, and somehow there is a problem in accessing primary node for write requests through the headless service.

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 a pull request may close this issue.

3 participants