Closed dudong2 closed 1 year ago
Merging #576 (5af9711) into main (7fcbb0f) will increase coverage by
0.19%
. The diff coverage is68.00%
.
The e2e tests seem to fail all the time. E2e tests often have non-reproducible errors related to asynchronous processing, but this happens a lot, maybe there is still some code that has not been fixed enough.
Looking at the error log, it seems that SIGSEGV is happening on validator04 out of the four validators. https://github.com/line/ostracon/actions/runs/4363272772/jobs/7670216595#step:10:360
Is there anything we can do to help?
Description
As the genesis.json file based migration progressed, the function to write and load large files to the db was required. The block size of leveldb is limited to 4gb. Therefore, if the genesis.json file exceeds 4gb, a way to divide and save it is needed.
100MB
units and save them in the db as keysgenesisDoc0
,genesisDoc1
, ...genesisDoc255
(here int means byte). When divided into larger units (1GB, ...), the test could not be successed due to ci error, so the size was set at 100MB. Also, since100MB * 255 = 25.5GB
in this case, I figured it would be fine in most cases.Closes: #577