Regression: Recording a duplicate transaction attempts second insert to vault.

Description

A recent change to transaction recording reverted a change to only update the vault with newly inserted transactions only. Currently we get primary key violations in the database for vault tables when a duplicate transaction is inserted.

We should also add a unit test to make sure we don't revert this filter.

Duplicate transactions are a valid scenario due to parallel transaction resolution.

Status

Assignee

Rick Parker

Reporter

Rick Parker

Priority

Highest

Labels

None

Severity

Medium

Fix versions

Ported to...

None

Feature Team

Performance and Platform Sustainability

Affects versions

R3 Corda 3.0 Dev Preview 3
Corda 3.1