You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2024/11/14 14:05:00 UTC

[jira] [Commented] (IGNITE-23379) Some of StoragePartitionMeta fields are not restored on raft-snapshot installation

    [ https://issues.apache.org/jira/browse/IGNITE-23379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898295#comment-17898295 ] 

Roman Puchkovskiy commented on IGNITE-23379:
--------------------------------------------

estimatedSize doesn't need to be passed and restored explicitly as it gets calculated while the snapshot data is written to the storage

> Some of StoragePartitionMeta fields are not restored on raft-snapshot installation
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-23379
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23379
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> At least following fields aren't transferred with raft snapshot:
>  * leaseStartTime
>  * primaryReplicaNodeId
>  * primaryReplicaNodeNameFirstPageId
>  * estimatedSize
> ItTableRaftSnapshotsTest#nodeCanInstallSnapshotsAfterSnapshotInstalledToIt may fail because of uninitialised fields with 
> {code:java}
> The primary replica has changed [txId=01925209-1bc9-0001-76c2-c0e900000001, expectedEnlistmentConsistencyToken=113243138896887809, currentEnlistmentConsistencyToken=1].
> org.apache.ignite.lang.IgniteException: IGN-CMN-65535 TraceId:cac58872-51b5-4ef2-8f0a-041bb1839a97 The primary replica has changed [txId=01925209-1bc9-0001-76c2-c0e900000001, expectedEnlistmentConsistencyToken=113243138896887809, currentEnlistmentConsistencyToken=1]. {code}



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