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

Sql. Race between getting logical topology and mapping fragments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • sql

    Description

      MappingServiceImpl#nodesSetRef might contain an empty set when mapping if the logical topology event hasn't occurred yet. This results in colocation targets having nodes equal to 0, so no targets are colocated, even if they are supposed to be. This results in 'ColocationMappingException: Targets are not colocated' (thrown in AbstractTarget:123, as of commit b9bd1c4db01a5377190b363c208375d845890265).

      This is easily reproducible locally with ItDataSchemaSyncTest#checkSchemasCorrectlyRestore()

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              rpuch Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 50m
                  50m