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

[cluster cli] worker list 命令的输出结果增加 plan 列 #428

Closed
2 of 4 tasks
0x5459 opened this issue Sep 17, 2022 · 2 comments
Closed
2 of 4 tasks

[cluster cli] worker list 命令的输出结果增加 plan 列 #428

0x5459 opened this issue Sep 17, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request P2 Medium - we should get to this soon
Milestone

Comments

@0x5459
Copy link
Collaborator

0x5459 commented Sep 17, 2022

模块 / Components

  • venus-sector-manager
  • venus-worker
  • 工具链 / toolchains
  • 文档 / docs

描述 / Description

当前使用 sealing_thread 配置热更新功能修改 sealing_thread 的 plan 时,不方便判断是否已经完成 plan 切换,增加一列 plan 信息便于观察。

venus-sector-manager util worker info <worker instance name or address> example:

Index  Loc                plan       SectorID       Paused  PausedElapsed      State              LastErr
0      /path/to/store1    sealer     s-xxx-103      false        NULL         PersistanceSubmitted   NULL
1      /path/to/store2    rebuild    s-xxx-104      false        NULL         PCSubmitted            NULL
2      /path/to/store3    snapup     s-xxx-102      false        NULL         ProofSubmitted         NULL
                          ^^^^^
                           新增

venus-worker worker list example:

#0: "/path/to/store1"; plan=sealer, sector_id=Some(s-xxx-1), paused=false, paused_elapsed=None, state=Empty, last_err=None
                       ^^^^^^^^^^^
#1: "/path/to/store2"; plan=rebuild, sector_id=Some(s-xxx-2), paused=false, paused_elapsed=None, state=Empty, last_err=None
                       ^^^^^^^^^^^
#2: "/path/to/store3"; plan=snapup, sector_id=Some(s-xxx-3), paused=false, paused_elapsed=None, state=Empty, last_err=None
                       ^^^^^^^^^^^
@0x5459 0x5459 added the enhancement New feature or request label Sep 17, 2022
@0x5459 0x5459 added this to the v0.5.0 milestone Sep 17, 2022
@0x5459 0x5459 self-assigned this Sep 17, 2022
@0x5459 0x5459 changed the title [venus-worker cli] worker list 命令的输出结果增加 plan 列 [cluster cli] worker list 命令的输出结果增加 plan 列 Sep 19, 2022
@0x5459
Copy link
Collaborator Author

0x5459 commented Sep 19, 2022

cc @remakeZK

@0x5459 0x5459 added the P2 Medium - we should get to this soon label Sep 19, 2022
@0x5459
Copy link
Collaborator Author

0x5459 commented Sep 20, 2022

这个 issue 为啥没有自动关掉。close by #439

@0x5459 0x5459 closed this as completed Sep 20, 2022
@0x5459 0x5459 moved this to Done in venus-cluster Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 Medium - we should get to this soon
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant