Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…82150) In #77674 the assertion that is moved here was added. The problem with it is that when running tests that do random IO exceptions on the `channel.position()` call, the assertion actual has a side effect. If the exception it triggers as a side effect is not caught and the translog failed as a result, tests around the safety of handling IOExceptions in this code fail. Unfortunately, the assertion still has a side effect after this change but its side effect is handled like an expected IOException.
- Loading branch information