nrtsearch icon indicating copy to clipboard operation
nrtsearch copied to clipboard

Broadcasting settings and field changes

Open karthikalle opened this issue 5 years ago • 1 comments

We currently would have to apply new settings and field changes across all Primary and replica nodes individually.

Could we broadcast these changes without explicitly settings it on every node?

karthikalle avatar Jan 28 '20 19:01 karthikalle

Putting down the points discussed with @umeshdangat here:

  1. This is needed when creating new indices or updating current indices only. When creating a new index on a new cluster we can just bring up replicas after creating the index on primary and backing it up.
  2. We can create a tool that will broadcast changes to primary and all replicas or need to have a different node type if nrtsearch needs to broadcast since the current model of primary not caring about errors when sending messages to replicas won't work here
  3. With the tool or rather any solution applied externally, we would have to commit and backup the indices immediately after creating or updating an index

sarthakn7 avatar May 12 '20 20:05 sarthakn7