Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20861

WAL entries should be replicated which are updated after peer addition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Replication
    • 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.

      Attachments

        Activity

          People

            pankaj2461 Pankaj Kumar
            pankaj2461 Pankaj Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: