You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kvcoord: fix memory leak on rollbacks in txnWriteBuffer in some cases
Whenever we perform a rollback of the txnWriteBuffer, we need to remove
buffered values that are at or above the given sequence number. If the
whole buffered write is being rolled back, we delete it proper, but if
only some buffered values are rolled back, then we only remove them but
keep the `bufferedWrite`. Previously, we would decrement the buffer size
accordingly but forgot to also unset the `bufferedValue`s that could be
of non-trivial size. This is now fixed.
Release note: None
0 commit comments