XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.7, 8.0, 9.0
    • None
    • None

    Description

      The (integration) tests related to autoscaling nodeAdd/nodeLost trigger's and restoring their state are problematic for a lot of reasons.

      Beyond some silly implementation mistakes, a fundemental timing/concurrency issue is that (as designed) the tests have no way to ensure that "after" creating a nodeAdded/nodeLost situation, they can wait for the (first instance of) the trigger to run() and detect the situation (recording it in the trigger's internal state) so that the test can subsequently "update" the trigger, forcing a new instance to restore the old state and then execute the trigger actions. This can result i na lot of flaky-ness if the triggers don't run when "expected"

      Attachments

        1. SOLR-13118.patch
          17 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: