Commit a74fd8b
committed
rgw: avoid shard recreation during bilog trimming if it doesn't exist
When trimming bilogs, avoid recreating shards that don't exist. Instead,
calling assert_exists() will return ENOENT, and the result will be logged
in handle_result() without unnecessary shard creation.
Signed-off-by: Seena Fallah <[email protected]>1 parent 8f604ea commit a74fd8b
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
794 | 800 | | |
795 | 801 | | |
796 | 802 | | |
| |||
0 commit comments