Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35723: intentresolver: properly update intent meta and status after PENDING push r=nvanbenschoten a=nvanbenschoten This change fixes a bug that was revealed by #35165. After performing a push on PENDING transactions, `IntentResolver.CleanupTxnIntentsOnGCAsync` would attempt to update its slice of intents to reflect the new transaction metadata and status. This update was performed on a copy of the intents, so it wasn't reflected in the intent slice passed to `cleanupFinishedTxnIntents`. I believe that the effect of this is that cleaning up a PENDING transaction would take an extra GC round. The change to `TestGCQueueTransactionTable` makes the test fail without the fix. Release note: None Co-authored-by: Nathan VanBenschoten <[email protected]>
- Loading branch information