Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Steps to reproduce:
1. Add a peer
2. Enable a table replication
3. Put data
4. remove peer
5. Truncate the table in both the cluster
6. Add peer
Observation:
Here the old data is getting replicated in the table in peer cluster.
HBase replication by design upon peer addition always starts replication from begining of WAL file, so all replicable wal entries get replicated irrespective of peer addition time.
This can be handled by skipping WAL entries which is having create time before peer addition time.