Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c/log_eviction_stm: do not request snapshot if already progressed
It is perfectly possible that the install snapshot request will reach the follower right before the `log_eviction_stm` asks for the snapshot creation. In this case an `stm_manager` would do the check and throw an exception informing that the snapshot can not be taken. In order to handle the situation gracefully added a check in log eviction stm to skip taking snapshot if start offset already progressed. Fixes: redpanda-data#14220 Signed-off-by: Michal Maslanka <michal@redpanda.com>
- Loading branch information