seastar icon indicating copy to clipboard operation
seastar copied to clipboard

Hold rpc permit during background jobs

Open gleb-cloudius opened this issue 5 years ago • 1 comments

RPC has an admission control, but it releases permit after a future returned by a verb is resolved. If the verb leaves background work behind the work may accumulate indefinitely. This can be fixed by passing the permit down to the verb so that the background work created there can hold to it.

gleb-cloudius avatar May 26 '20 08:05 gleb-cloudius

Yes

avikivity avatar May 26 '20 08:05 avikivity