Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReplicatedPG::finish_promote: handle results->snaps is empty case
If results->snaps winds up empty after filtering removed snaps, we need to treat the object as if we had gotten an ENOENT. PartialFix: #11296 Backport: firefly, hammer Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit 6150757)
- Loading branch information
1 parent
3e44dc1
commit 7034720
Showing
1 changed file
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters