You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2019/02/09 08:24:00 UTC

[jira] [Created] (IGNITE-11274) SQL: Make GridCacheSqlQuery immutable

Vladimir Ozerov created IGNITE-11274:
----------------------------------------

             Summary: SQL: Make GridCacheSqlQuery immutable
                 Key: IGNITE-11274
                 URL: https://issues.apache.org/jira/browse/IGNITE-11274
             Project: Ignite
          Issue Type: Task
          Components: sql
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov


The goal of this ticket is to finally make two-step plan fully immutable. First steps we already made in IGNITE-11223, howevere plan's "query" objects are still mutable, what make's plan caching inherently unsafe.

# Remove all setters from the message except of {{nodeId}}, which is really needed
# Make splitter use another trully immutable object instead of {{GridCacheSqlQuery}}
# Copy splitter's object to {{GridCacheSqlQuery}} during reduce



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)