Skip to content

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

Merged
zouxyan merged 1 commit into
AntChainOpenLabs:mainfrom
fengjy73:fix/relayer-anchor-process-lane-key
Aug 7, 2026
Merged

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

Conversation

@fengjy73

@fengjy73 fengjy73 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

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).

@zouxyan
zouxyan merged commit 6f6a769 into AntChainOpenLabs:main Aug 7, 2026
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.

2 participants