daml/ledger/recovering-indexer-integration-tests
Marton Nagy 94b3a5890e
Fix ACS id retrieval parallelism [DPP-986] (#13550)
This PR fixes an issue with the ACS ID page retrieval: if there is one
of the id page DB fetching is slow, all the rest of the ID fetching
lanes getting fetched, due to continuous demand.
We implemented a treatment to cap the increased number of ID pages
accumulated in memory, by failing the stream.

Switching to mapAsync in pullWorkerSource naturally will
stop demand, in case a single query takes too long.
This also removes the need for the queue size limitting treatment.

* Switches to mapAsync in pullWorkerSource
* Fixes unit test
* Removes queue limiting feature (as it is not necessary anymore)

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-20 15:20:19 +00:00
..
src/test Fix ACS id retrieval parallelism [DPP-986] (#13550) 2022-04-20 15:20:19 +00:00
BUILD.bazel Remove ledger-on-memory dependecy from recovering indexer integration tests [KVL-1365] (#13582) 2022-04-14 10:38:44 +02:00