Closed jordanmack closed 8 months ago
Scrollback history: scrollback.txt
For safety, the CKB light client will NOT rollback automatically if a fork has more than 100 blocks.
So, a panic will be caused if there is a better fork, which has more than 100 blocks, was detected; and users have to handle the situation by themselves.
With CKB binaries between version 0.111.0-rc1
and 0.111.0-rc5
,
the launched time for Edition CKB2023 for testnet was set:
0.111.0-rc1
and 0.111.0-rc2
are set to be activated at epoch 6765.
0.111.0-rc3
was not existed.
0.111.0-rc4
and 0.111.0-rc5
are set to be activated at epoch 6795.
The epoch 6765 was estimated to be started at 2023-06-25 6:50 UTC, and it was started at 2023-06-26 07:01:21 UTC in real.
The 100th block in the epoch 6765 was mined in 2023-06-25 07:12:55 UTC.
In your logs, "long fork detected" was happened in "2023-06-25 07:19:47".
Since there are lots different version of CKB binaries, a fork chain could be existed.
p.s. Some bad things were happended since epoch 6765 and a lot of transactions were pending for more than 1 hour. So, from CKB 0.111.0-rc6
, the launched time for Edition CKB2023 for testnet was removed.
Since, CKB light client only caches 100 blocks before the tip block; the fork point is difficult to be found for long fork.
At present, the only way to fix that, is to remove the data of CKB light client and re-sync again.
This morning I checked on my ten v0.3.4 light clients and found that three of them have exited with the long fork error. When I checked on them yesterday they all appeared to be running fine and fully up to sync.
Is this expected behavior? This seems like it would be a maintenance problem if light clients cannot stay online and require you to manually delete data files to get back online.
it's not expected, could you upload the log here?
it's a known issue, has been resolved in #177 and #178 , we plan to release a new version next week, thanks for your report and detail log.
I received the following error on v0.2.4 when running normally. The node has always been v0.2.4 and there has been no previous node version for the storage used. It was running without issue for several weeks. Below is the error message. A longer scrollback history will also be added.