Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why restart filecoin container, the Filecoin.SyncState always show start from 0? #2449

Closed
lcgogo opened this issue Jul 17, 2020 · 1 comment
Assignees

Comments

@lcgogo
Copy link

lcgogo commented Jul 17, 2020

Describe the bug
I tried to restart filecoin container (openworklabs/lotus:v0.4.1) after full synced. The Filecoin.SyncState always show start from 0. And it is also disturbing the Filecoin.ChainHead does not show the local current height till full synced.

To Reproduce
Steps to reproduce the behavior:

  1. Run 'VER=0.4.1
    docker run -d --restart always --name fil-test-${VER} -v /data/fil-test/:/root/.lotus -p 1234:1234 openworklabs/lotus:v${VER}'
    # wait full synced
  2. docker stop -t 30 fil-test-0.4.1
  3. docker start fil-test-0.4.1
  4. curl --request POST --url http://localhost:1234/rpc/v0 --header 'content-type: application/json' --data '{ "jsonrpc": "2.0", "method": "Filecoin.SyncState", "params": [], "id": 3 }' | jq
    图片
  5. curl --request POST --url http://localhost:1234/rpc/v0 --header 'content-type: application/json' --data '{ "jsonrpc": "2.0", "method": "Filecoin.ChainHead", "params": [], "id": 3 }' | jq
    图片

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
图片
图片

Version (run lotus version):
0.4.1

Additional context
Add any other context about the problem here.

@travisperson travisperson self-assigned this Jul 17, 2020
@lcgogo lcgogo closed this as completed Aug 8, 2022
@lcgogo
Copy link
Author

lcgogo commented Aug 8, 2022

old issue

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

No branches or pull requests

2 participants