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]: Add support for hidden nodes #1663

Open
rd790-gh opened this issue Sep 24, 2024 · 2 comments
Open

[FEAT]: Add support for hidden nodes #1663

rd790-gh opened this issue Sep 24, 2024 · 2 comments

Comments

@rd790-gh
Copy link

rd790-gh commented Sep 24, 2024

Proposal

Extend the MongoDB operator to include options for configuring hidden nodes.

Use-Case

We'd use the hidden nodes for running heavy read operations, such as generating reports or performing data analysis, without affecting the performance of the main replica set.

Is this a feature you are interested in implementing yourself?

Maybe

Anything else?

No response

@spron-in
Copy link
Collaborator

@rd790-gh thank you for sharing. We have non-voting nodes, I think implementing hidden would be quite similar to that one.

@kyeongjun-dev
Copy link

When there are a large number of documents in MongoDB, a new replica member may report an OK status to the client even though it has not fully synchronized all the data.

For instance, in a case with 500,000 documents, a read request from the client might be directed to the newly added replica member, and the response could return only 400,000 documents. Despite this, the client still receives an OK status.

This is based on a test I conducted, and from this experience, I believe adding the capability to configure a new replica member as hidden would be highly beneficial.

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

No branches or pull requests

3 participants