-
Type:
Technical Debt
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Live Restore
-
Storage Engines
-
3
__live_restore_fs_find_layer returns two values to indicate if a file exists in the live restore: layer and exist.
This is unnecessary, and we can simplify the logic by only returning layer. When the file doesn't exist we should return a new enum value WTI_LIVE_RESTORE_FS_LAYER_NONE.