Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Filter for partial replication based on table metadata #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aoen
Copy link
Contributor

@aoen aoen commented Jun 23, 2017

@plypaul

E.g. if the destination cluster in the Reair config is "dest" this table will have commands affecting it replicated:
CREATE TABLE test (test_col string TBLPROPERTIES ('replication_cluster'='dest');
and this one will not:
CREATE TABLE test (test_col string);

Testing Done:
Can add tests on request (the other Reair filters do not have tests).

Ran this filter and made sure that operations were/were not replicated based on if the destination cluster in the table matched the one in the Reair config.
CI Passes in my fork: https://travis-ci.org/aoen/reair/builds/246322374

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

Successfully merging this pull request may close these issues.

1 participant