replace error number from OB_ERR_UNEXPECTED to OB_INVALID_DATA when encounting firmware issues during replay

This commit is contained in:
HaHaJeff 2024-02-08 05:59:25 +00:00 committed by ob-robot
parent 372e310f39
commit 91be07fcd8

View File

@ -205,7 +205,7 @@ private:
if (OB_FAIL(curr_entry_.deserialize(buf_, curr_read_buf_end_pos_, pos))) {
}
} else {
ret = OB_ERR_UNEXPECTED;
ret = OB_INVALID_DATA;
PALF_LOG(ERROR, "parse LogMetaEntry failed, unexpected error", K(ret), KPC(this));
}
return ret;