Skip to content

[fix][relayer][ddl] include lane key in anchor process uniqueness#77

Open
fengjy73 wants to merge 1 commit into
AntChainOpenLabs:mainfrom
fengjy73:fix/relayer-anchor-process-lane-key
Open

[fix][relayer][ddl] include lane key in anchor process uniqueness#77
fengjy73 wants to merge 1 commit into
AntChainOpenLabs:mainfrom
fengjy73:fix/relayer-anchor-process-lane-key

Conversation

@fengjy73
Copy link
Copy Markdown
Contributor

@fengjy73 fengjy73 commented Jun 3, 2026

Anchor progress is lane-specific. In FISCO/TPBTA flows, the relayer can keep both an empty-lane progress row and a lane-specific progress row for the same blockchain product, instance, and task.

Without tpbta_lane_key in the unique key, those valid rows are treated as duplicates and can trigger DuplicateKeyException, blocking anchor height persistence.

  • Update production DDL unique key on anchor_process from (blockchain_product, instance, task) to (blockchain_product, instance, task, tpbta_lane_key).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant