sui icon indicating copy to clipboard operation
sui copied to clipboard

Sui fullnode seems to checkpoint from after restarting even without cleanup db

Open zjshen14 opened this issue 2 years ago • 1 comments

Steps to Reproduce Issue

After stopping and restarting the container while the db is not cleaned up, the full node was hanging there and checkpoint from 0 (or at least very early number).

Log:

2023-01-02T22:16:45.118076Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92231 for execution
2023-01-02T22:16:45.177170Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92232 for execution
2023-01-02T22:16:45.238530Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92233 for execution
2023-01-02T22:16:45.284781Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92234 for execution
2023-01-02T22:16:45.325274Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92235 for execution
2023-01-02T22:16:45.367827Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92236 for execution
2023-01-02T22:16:45.403615Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92237 for execution
2023-01-02T22:16:45.454085Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92238 for execution
2023-01-02T22:16:45.484083Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92239 for execution
2023-01-02T22:16:45.534127Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92240 for execution
2023-01-02T22:16:45.573548Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92241 for execution
2023-01-02T22:16:45.620036Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92242 for execution
2023-01-02T22:16:45.669729Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92243 for execution
2023-01-02T22:16:45.710288Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92244 for execution
2023-01-02T22:16:45.744095Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92245 for execution
2023-01-02T22:16:45.844371Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92246 for execution
2023-01-02T22:16:45.923597Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92247 for execution
2023-01-02T22:16:46.035657Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92248 for execution
2023-01-02T22:16:46.107072Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92249 for execution
2023-01-02T22:16:46.228297Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92250 for execution
2023-01-02T22:16:46.339267Z  INFO sui_core::checkpoints::checkpoint_executor: Scheduling checkpoint 92251 for execution

Expected Result

Restart the process should just resume from where it was stopped.

System Information

  • OS: Ubuntu 20.04
  • Docker image: mysten/sui-node:stable digest: sha256:32ca069dcfa01ce7f070fef46e16236babac7e96c3f0e05de5eca5f2a0288785

zjshen14 avatar Jan 02 '23 22:01 zjshen14

Kindly ping

zjshen14 avatar Jan 27 '23 16:01 zjshen14