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

Sql. Missing ClusterNode can be involved into tx enlist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • sql

    Description

      DistributedQueryManager#sendFragments enlists partitions:

                  if (!tx.isReadOnly()) {
                      for (MappedFragment mappedFragment : mappedFragments) {
                          enlistPartitions(mappedFragment, tx);
                      }
                  }
      

      and obtain ClusterNode from topologyService, here:
      IgniteRelShuttle#enlist
      but node can leave topology at that moment and null will return in such a case.

      @Nullable ClusterNode getByConsistentId(String consistentId);
      

      need to cover such a case and re run existing query

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: