Update Take
in limiter.Fixed
to support cancellation/timeouts
#21600
Labels
area/storage
area/2.x
OSS 2.0 related issues and PRs
kind/tech-debt
Needs cleanup, will make the developer experience better
#20814 reintroduced a concurrency limit to WAL encodings via a
limiter.Fixed
. There were concerns that we might deadlock/overload the DB if a large number of requests get stuck on the limiter at once. The risk of getting into that bad state seems smaller if theTake
method supported cancellation/a timeout.Since
limiter.Fixed
is defined within theinfluxdb
repo, we should be able to extend it to support this new functionality.The text was updated successfully, but these errors were encountered: