This is a little twist on the "Add new node to existing cluster". Maybe Elastic automatically handles this, but I just want to make sure.
I have two independent nodes, each a cluster of 1 (themselves). Node A has some indices and Node B has a different set of indices.
I want to induct Node B into Node A's cluster. That's nothing more than changing Node B's elasticsearch.yml to be in Node A's cluster, etc...
My question is, what happens to Node B's data? Is Elastic smart enough to copy Node A's indices to Node B and Node B's indices to Node A so that when all is said and done my cluster has Node A and Node B each with a copy of all the indices?