Corda node stops when detecting not migrated node_attachments_contracts table name

Description

Database table NODE_ATTACHMENTS_CONTRACT_CLASS_NAME in v3.0 was changed to NODE_ATTCHMENTS_CONTRACTS in v3.1 and then finally NODE_ATTACHMENTS_CONTRACTS on current master.

Allow new Corda versions to use older table name if the new table name is not detected, warn user in logs/console.

Activity

Show:
Szymon Sztuka
July 13, 2018, 12:31 PM

Decision to fail fast as this is simpler solution for a temporary issue.

Szymon Sztuka
July 13, 2018, 12:55 PM

Added screenshoot with node error at startup when older table name is detected and the correct name is not present.

Assignee

Szymon Sztuka

Reporter

Szymon Sztuka

Labels

None

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

None

Fix versions

Affects versions

Story Points / Dev Days

None

Build cut

None
Configure