Skip to content

[ messager ] address could not create after delete / 数据库中的 address 在被删除之后就不能再重新创建了 #5615

Open
@LinZexiao

Description

@LinZexiao

链服务模块 / Chain Service Components

  • venus
  • venus-auth
  • venus-gateway
  • venus-messager
  • venus-miner
  • 文档 / docs

订单服务模块 / Deal Service Components

  • venus-market
  • 文档 / docs

算力服务模块 / Storage Power Service Components

  • venus-sector-manager
  • venus-worker
  • 文档 / docs

版本 / Version

v1.9.0-rc

描述 / Describe the Bug

导致的原因:

  • 地址删除并不会真正地从数据库删除
  • 地址在数据库中的 addr 字段是不能重复的,于是新的地址项就会因为 唯一性约束创建失败

日志 / Logging Information

"save address t3quhhwxbbr5bindkd7zvryedzkam3xl6nzbaol244vmpgy2opcgxhbhb7wb3hjqxpxjzpq2kaanefe5xklbea failed UNIQUE constraint failed: addresses.addr"

重现步骤 / Repo Steps

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bugCU-chain-serviceVenus chain service related issuesP2Medium - we should get to this soon

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions