You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2026/04/06 07:07:00 UTC
[jira] [Created] (IGNITE-28460) Sql. Choose commit partition from list of involved partitions
Konstantin Orlov created IGNITE-28460:
-----------------------------------------
Summary: Sql. Choose commit partition from list of involved partitions
Key: IGNITE-28460
URL: https://issues.apache.org/jira/browse/IGNITE-28460
Project: Ignite
Issue Type: Bug
Components: sql ai3
Reporter: Konstantin Orlov
Assignee: Konstantin Orlov
Historically, commit partition has been chosen randomly among all partitions of table:
{code}
tx.assignCommitPartition(new ZonePartitionId(zoneId, ThreadLocalRandom.current().nextInt(partsCnt)));
{code}
But when partition pruning came into play, partition chosen became not always the one that required by query execution. For instance, if after partition pruning only one partition remains (let say partition with id=42), then partition with id=0 will be assigned as commit partition.
We need to choose commit partition amongst the ones involved.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)