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

[0.92 UNIT TESTS] TestReplication.queueFailover occasionally fails [Part-2]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.3, 0.95.0
    • None
    • None
    • Reviewed

    Description

      The failure is in TestReplication.queueFailover (fails due to unreplicated rows). I have come across two problems:
      1. The sleepMultiplier is not properly reset when the currentPath is changed (in ReplicationSource.java).
      2. ReplicationExecutor sometime removes files to replicate from the queue too early, resulting in corresponding edits missing. Here the problem is due to the fact the log-file length that the replication executor finds is not the most updated one, and hence it doesn't read anything from there, and ultimately, when there is a log roll, the replication-queue gets a new entry, and the executor drops the old entry out of the queue.

      Attachments

        1. HBASE-6733-0.94.patch
          1 kB
          Sergey Shelukhin
        2. 6733-3.patch
          1 kB
          Devaraj Das
        3. 6733-2.patch
          0.9 kB
          Devaraj Das
        4. 6733-1.patch
          1 kB
          Devaraj Das

        Activity

          People

            ddas Devaraj Das
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: