Sergey Korotkov created IGNITE-20642:
----------------------------------------

             Summary: "control.sh --snapshot check" command returns 0 even if 
check fails
                 Key: IGNITE-20642
                 URL: https://issues.apache.org/jira/browse/IGNITE-20642
             Project: Ignite
          Issue Type: Bug
            Reporter: Sergey Korotkov


Even if snapshot check fails the control.sh returns 0 (which is generally 
considered as a success indicator).

Output  contains both error messages about the check failures and final success 
line
_Command [SNAPSHOT] finished with code: 0_ 


{noformat}
[2023-10-11T11:32:39,167][INFO ][session=93ebdf33][CommandHandlerLog] The check 
procedure has failed, conflict partitions has been found: [counterConflicts=0, 
hashConflicts=1024]

[2023-10-11T11:32:39,168][INFO ][session=93ebdf33][CommandHandlerLog] Hash 
conflicts:

[2023-10-11T11:32:39,219][INFO ][session=93ebdf33][CommandHandlerLog] Conflict 
partition: PartitionKeyV2 [grpId=1845542353, grpName=sql_cache, partId=455]

[2023-10-11T11:32:39,223][INFO ][session=93ebdf33][CommandHandlerLog] Partition 
instances: [PartitionHashRecordV2 [isPrimary=false, consistentId=ducker06, 
updateCntr=null, partitionState=OWNING, size=960, partHash=371088385, 
partVerHash=0], PartitionHashRecordV2 [isPrimary=false, consistentId=ducker09, 
updateCntr=null, partitionState=OWNING, size=0, partHash=0, partVerHash=0]]

...
[2023-10-11T11:32:39,486][INFO ][session=93ebdf33][CommandHandlerLog] Command 
[SNAPSHOT] finished with code: 0
{noformat}




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

Reply via email to