Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: don't leak trace span in evalAndPropose
Previously, if `evalAndPropose` returned with an error while trying to propose a pipelined write, it would leak the trace span. Make sure this doesn't happen. The test that exercised this got deleted in the previous commit, but this is still a bug that could cause a larger leak if a condition were ever added to `evalAndPropose` which could cause a large amount of errors (perhaps spread out over a longer time period) in production clusters. Unfortunately, writing a test for this is likely to be a net negative; if the reviewer feels strongly I can add a testing knob to inject an error in the right place in this method and exercise it that way. Touches #96932. Epic: none Release note: None
- Loading branch information