Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
TrackedMemoryPool
with better error messages on exhaustion (#11665
) * feat(11523): TrackConsumersPool impl which includes errors messages with top K of consumers * test(11523): unit tests for TrackConsumersPool * test(11523): integration test for tracked consumers oom message * chore(11523): use nonzero usize * chore(11523): document the what the memory insufficient_capacity_err is actually returning * chore(11523): improve test failure coverage for TrackConsumersPool * fix(11523): handle additive tracking of same hashed consumer, across different reservations * refactor(11523): update error message to delineate the multiple consumer with the same name, but different hash * test(11523): demonstrate the underlying pool behavior on deregister * chore: make explicit what the insufficient_capacity_err() logs * fix(11523): remove to_root() for the error, since the immediate inner child should be returning an OOM * chore(11523): add result to logging of failed CI tests * fix(11523): splice error message to get consumers prior to error message * Revert "fix(11523): splice error message to get consumers prior to error message" This reverts commit 09b20d2. * fix(11523): fix without splicing error messages, and instead handle the proper error bubbling (msg wrapping) * chore: update docs to explain purpose of TrackConsumersPool Co-authored-by: Andrew Lamb <[email protected]> * refactor(11523): enable TrackConsumersPool to be used in runtime metrics --------- Co-authored-by: Andrew Lamb <[email protected]>
- Loading branch information