Aleksey Plekhanov created IGNITE-23975:
------------------------------------------

             Summary: Calcite engine. Group partition reservation
                 Key: IGNITE-23975
                 URL: https://issues.apache.org/jira/browse/IGNITE-23975
             Project: Ignite
          Issue Type: Improvement
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


Partition reservation performed currently one by one. We can implement group 
reservation as already implemented for H2 engine. In current implementation all 
primary partitions are reserved if {{null}} is passed as partitions array. For 
Calcite engine we can also pass {{null}} as {{ColocationGroup}} assignment, 
when assignment equals to primary partitions assignment for cache.  

With this fix we can achive two goals:
1. Faster reservation (no need to iterate over all partitions)
2. Faster marshalling (no need to marshal and send partitions assignment, when 
it equals to primary partitions assignment)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to