Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2023-03-20
Description
This invariant is a safeguard to prevent creating unbounded future chains that can cause a stack overflow since the completion logic is recursive. It follows that when merging more than 32 contiguous sequences of chunks in mergeAllChunksOnShard this invariant is triggered.
Purpose of this ticket is to replace the future chain iteratively built within this loop with an ExecutorFuture list and then wait for all to succeed.