We're updating the issue view to help you get more done. 

Fix v4's inability to migrate V3 vault data

Description

During testing for Corda 4, it was discovered that states created by a node running Corda 3 cannot be used by new features, as these states are not correctly migrated when the node is upgraded. In particular:

  • All states are marked as relevant (regardless of actual relevancy)

  • No states are populated in the state_party table

Fixing this requires providing a custom liquibase migration that starts enough node services to read serialized data out of the database (such as transactions), as determining what to do with the states currently in the vault requires this data. Some manual testing is also required to ensure databases created with a V3 node can be migrated successfully.

See for the original issue.

CVSS Vector

None

Status

Assignee

James Higgs

Reporter

Shams Asari

Labels

None

CVSS Score

None

Feature Team

Corda Core

Target Version/s

Corda 4
Corda Enterprise 4

Ported to...

None

Story Points

5

Fix versions

Affects versions

Corda 4

Priority

Highest