Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cometindex: avoid unnecessary rollbacks (#5106)
We created a transaction too early in the previous version of the code, which meant that in the common case of skipping a batch of transactions, we would create the transaction before checking if we need to do anything. Smoke tests should be sufficient to test. ## Checklist before requesting a review - [x] I have added guiding text to explain how a reviewer should test these changes. - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > indexing only
- Loading branch information