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
{{ message }}
Repository navigation
Partial-update sum counts a retracted value twice when a merge starts with a retraction #1543
With a sequence group and a sum aggregate, a merge that starts with a retraction seeds the row from the retracted record, so the retraction cancels its own payload and the old value is counted again. Committing +I(amount = 90) and then -U(90), +U(90) reads 180 instead of 90. Committing +I(40), +I(50), then -U(40), -U(50), then +U(60) reads 140 after the second commit and 200 after the third, instead of 0 and 60.
Activity