Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10652

LocalWalModeNoChangeDuringRebalanceOnNonNodeAssignTest fails on TC

    XMLWordPrintableJSON

Details

    Description

      LocalWalModeNoChangeDuringRebalanceOnNonNodeAssignTest fails on TC after splitting test into 3 for Atomic, Tx and Mvcc modes.

      Seems, there is a race we were not able to detect before due to some reason.

      The root cause of the issue is that the test assumes that the last joined server node will meet the following requirements:

      • this node is affinity node
      • affinity function will not choose this node as a primary node for any partition.
        Unfortunately, the test does not provide any guarantee that the second requirement is met. So, the new server node (last joined server node) has one partition in moving state and disables the WAL on rebalance.

      The obvious fix is providing a custom affinity functions that will guarantee that both of the requirements are met.

      Attachments

        Issue Links

          Activity

            People

              slava.koptilin Vyacheslav Koptilin
              amashenkov Andrey Mashenkov
              Vladislav Pyatkov Vladislav Pyatkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 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