Open pugachAG opened 9 months ago
It seemed to me that I can achieve all three sub-goals from Miro board for #9679 if I apply right modifications to get_apply_chunk_job_new_chunk
. Unfortunately, all my attempts ended up with couple of integration-tests failing due to different reasons, including
So I decided to come back to previous non-async approach and iterate from it slower. Pair of fixes already helped to bring number of nayduck failures "just" to 60. I plan to reduce it further and then apply chunks asynchronously again.
Quick update: we are not fully doing this anymore in scope of SV mainnet release. Main reason is that applying of old chunks is more problematic than we thought. We still want to do it, but the fix must include, together:
IIRC this is valuable as we won't have to apply receipts to make just a state sync and protocol logic becomes MUCH more consistent.
See the doc for more context.
This includes delaying applying block chunks until the next block is processed or a new chunk is needed to be produced.