Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
84048: row: only store the accounted for memory if the reservation is approved r=yuzefovich a=yuzefovich Previously, we would update the counter about the reserved memory before doing the reservation. If that reservation is denied, then later on, in `txnKVFetcher.close` we could try to release more memory than we registered. This is now fixed. Addresses: cockroachdb#83935. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information