Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Private Beta
-
None
-
None
Description
pb_util uses a tmp file format of .tmp.XXXX. However, IsValidTabletId() in fs_manager.cc uses HasSuffixString(".tmp") to filter out tmp files. So, if we crash in between writing metadata renaming the tmp file into place, we end up trying to load a partially complete tmp file as a tablet (woops!)