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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)