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

Make IntegrationTestReplication's waitForReplication() smarter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • None
    • integration tests
    • None

    Description

      IntegrationTestReplication is a great test, but can improved by changing how we handle waiting between generation of the linked list on the source cluster and verifying the linked list on the destination cluster. Even the code suggests this should be done, so I'd like to take it on. mbertozzi and busbey have both suggested a simple solution wherein we write a row into each region on the source cluster after the linked list generation and then assume replication has gone through once these rows are detected on the destination cluster.

      Since you lads at Facebook are some of the heaviest users, eclark, would you prefer I maintain the API and add a new command line option (say -c | --check-replication) that would run before any --generateVerifyGap sleep is carried out as it is now?

      Attachments

        1. HBASE-15930.patch
          7 kB
          Mike Drob

        Activity

          People

            Unassigned Unassigned
            dimaspivak Dima Spivak
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: