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

Index rebuild future is created too late

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.5
    • None
    • None

    Description

      rebuildIndexesIfNeeded is called before the exchange future onDone method, which may be too late in a distributed case: a node may complete a local exchange and send a compute job to a remote node. In this case, if the job checks the index rebuild future, it may observe null.

      To fix this, we should create the future in beforeExchange, and complete it after the rebuild is finished.

      Attachments

        Issue Links

          Activity

            People

              agoncharuk Alexey Goncharuk
              agoncharuk Alexey Goncharuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: