You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2025/02/05 14:58:00 UTC
[jira] [Created] (IGNITE-24420) CPCC. Implement pre CPCC initialization checks
Evgeny Stanilovsky created IGNITE-24420:
-------------------------------------------
Summary: CPCC. Implement pre CPCC initialization checks
Key: IGNITE-24420
URL: https://issues.apache.org/jira/browse/IGNITE-24420
Project: Ignite
Issue Type: Task
Components: sql
Affects Versions: 3.0
Reporter: Evgeny Stanilovsky
Perform checks on coordinator node.
Check zone exist, all zone related partitions are in operable state (i.e. majority is not lost).
1. Check and if all ok it need to change through CAS NOTHING into GlobalOperationStatus#INITIATED (don`t forget term)
Flow:
# get message on CPCC coordinator
# perform related checks on coordinator, on failure - finish message future with exception.
# change state CAS: NOTHING -> INITIATED
# decide that message future completed when CAS finished
# message future need to complete exceptionally if CAS failed
Tests:
# Cover zone without majority
# Two sequential CPCC operations with equal zone, one need to fail
--
This message was sent by Atlassian Jira
(v8.20.10#820010)