Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, hbase-10070
    • None
    • None
    • Reviewed
    • Hide
      Adds an integration test for testing multi threaded gets with stale mode set in a table with replicated regions. Chaos Monkey can be run to test the behavior where region servers and masters are killed.

      Check the javadoc for IntegrationTestTimeBoundedRequestsWithRegionReplicas for how to run the test.
      Show
      Adds an integration test for testing multi threaded gets with stale mode set in a table with replicated regions. Chaos Monkey can be run to test the behavior where region servers and masters are killed. Check the javadoc for IntegrationTestTimeBoundedRequestsWithRegionReplicas for how to run the test.

    Description

      We should add an integration test for testing reads from replicas with chaos monkey.

      I am thinking of a test which:

      • Creates a table with region replication
      • Writes some data to a table with many regions per server. Ensures that the replicas sees the data.
      • Does time bounded gets (5 sec, etc) with timeline consistency. Failing to complete the reads with a smaller latency will fail the test
      • Runs Chaos Monkey to kill the region servers, master and runs balance. We do not want other CM actions (flush, snapshot, etc)

      Attachments

        1. 0019-HBASE-10572-Create-an-IntegrationTest-for-region-rep.patch
          55 kB
          Enis Soztutar
        2. hbase-10572_v2.patch
          50 kB
          Enis Soztutar
        3. 10572-add.txt
          0.8 kB
          Devaraj Das
        4. hbase-10572_v1.patch
          52 kB
          Enis Soztutar
        5. hbase-10572_v0.patch
          44 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: