How can I change an existing node with both "master" and "data" roles to be a "master" role only, without any downtime?

I have a cluster with multiple nodes. I intend to dynamically change an existing node that currently serves both the "master" and "data" roles to exclusively perform the "data" role, all without causing any downtime. What would be the optimal approach to achieve this?

Assuming you have the recommended 3 master eligible nodes, which is required for you to be able to handle one node going down without the cluster going into red state, you could just restart it with new settings assuming you have vacated all shards. If you do not have 3 master eligible nodes I would recommend fixing this before making this change.

1 Like

Will there be any desynchronization during the data node restart?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.