elasticsearch-changes-plugin icon indicating copy to clipboard operation
elasticsearch-changes-plugin copied to clipboard

Flag to distinguish changes from another cluster

Open clintongormley opened this issue 12 years ago • 1 comments

Hiya

I'm following this plugin with interest.

One thing that'd be nice to see is a flag somewhere that allows us to distinguish which changes should show up in the changes stream.

For instance, lets say we're trying two way replication between two clusters, thus allowing writes on both clusters. If a change happens on ClusterA, and you replicate it to ClusterB, you want that change to be flagged as having originated from ClusterA so that you don't get a cycle

The details of solving this I'll leave to you :)

thanks

Clint

clintongormley avatar Mar 22 '12 19:03 clintongormley

We need a field in the _source of an index request to be able to filter on that criteria I think.

derryx avatar Mar 23 '12 07:03 derryx