Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2358

Change to replication factor THREE in acceptance tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • test
    • None

    Description

      Acceptance test clusters are currently configured to replication factor of ONE. This way the test succeeds in spite of Ratis leader election problems (note "term 1464"):

      datanode_2  | 2019-10-15 03:18:06,953 INFO impl.RoleInfo: 749b19c7-0772-44d2-8efd-0664e6aa0748: start FollowerState
      datanode_2  | 2019-10-15 03:18:06,953 INFO impl.FollowerState: 749b19c7-0772-44d2-8efd-0664e6aa0748@group-D5F35BC43A13-FollowerState was interrupted: java.lang.InterruptedException: sleep interrupted
      datanode_2  | 2019-10-15 03:18:07,090 INFO impl.RaftServerImpl: 749b19c7-0772-44d2-8efd-0664e6aa0748@group-D5F35BC43A13: changes role from  FOLLOWER to FOLLOWER at term 1464 for recognizeCandidate:5ce55bf6-dbcc-40fb-8fb4-6e78032f4b8c
      datanode_2  | 2019-10-15 03:18:07,090 INFO impl.RoleInfo: 749b19c7-0772-44d2-8efd-0664e6aa0748: shutdown FollowerState
      

      The goal of this change is to configure factor of THREE, to allow acceptance test to catch such issues.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m