Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #1036

Closed
Open
Opened Apr 10, 2024 by yanhui liu@lyh2151543

无法清理节点区块数据

[root@ha2 tls01]# cmc archive archive 38 --timeout 20 --sdk-conf-path ./sdk_config.yml Error: runArchiveCMD failed error archive block failed, target archive height not reach , resp message: common.TxResponse{Code:5, Message:"archive block failed, target archive height not reach", ContractResult:(*common.ContractResult)(nil), TxId:"17c4dd6db4b2bdd8ca4465ca2af03080cfd57c6b75b84ca58344f128ff1dd112", TxTimestamp:0, TxBlockHeight:0x0} Usage: cmc archive archive [archive block height] [flags]

Flags: -h, --help help for archive --ignore string specify clean chain data whether clean-height's data has been stored in archivecenter (default "n") --sdk-conf-path string specify sdk config path --timeout uint specify clean bfdb timeout (default 10)

[root@ha2 tls01]# cmc archive archive 36 --timeout 20 --sdk-conf-path ./sdk_config.yml Error: runArchiveCMD failed error archive block failed, archive range less than 00000000000000000001.fdb contains , resp message: common.TxResponse{Code:5, Message:"archive block failed, archive range less than 00000000000000000001.fdb contains", ContractResult:(*common.ContractResult)(nil), TxId:"17c4e34f44e25befca7f28666470112967c13200fd114304906b23b72dccc45c", TxTimestamp:0, TxBlockHeight:0x0} Usage: cmc archive archive [archive block height] [flags]

Flags: -h, --help help for archive --ignore string specify clean chain data whether clean-height's data has been stored in archivecenter (default "n") --sdk-conf-path string specify sdk config path --timeout uint specify clean bfdb timeout (default 10)

在执行清理链上区块数据命令时报错,底链unarchive_block_height: 5设置了,为什么还会报这个错误呢,是链上数据太少吗?有没有可以设置的地方。。

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#1036

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。