diff --git a/utilities/backup/backup_engine.cc b/utilities/backup/backup_engine.cc index 49d135dccc77..fa40eedd6bd5 100644 --- a/utilities/backup/backup_engine.cc +++ b/utilities/backup/backup_engine.cc @@ -1346,8 +1346,8 @@ IOStatus BackupEngineImpl::Initialize() { } work_item.result.set_value(std::move(result)); } else { - ROCKS_LOG_INFO(options_.info_log, "Unknown work item type: %" PRIu64, - work_item.type); + result.io_status = IOStatus::InvalidArgument( + "Unknown work item type: " + std::to_string(work_item.type)); } } });