Skip to content

Commit cd88ee6

Browse files
authored
Use "INFO" level to print "key not found" log in SyncBatchReadForArchiveCallback (#110)
1 parent c78d788 commit cd88ee6

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

data_store_service_client_closure.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,8 @@ void SyncBatchReadForArchiveCallback(void *data,
6565
auto err_code = result.error_code();
6666
if (err_code == remote::DataStoreError::KEY_NOT_FOUND)
6767
{
68-
LOG(ERROR) << "BatchReadForArchiveCallback, key not found: "
69-
<< read_closure->Key();
70-
// callback_data->SetErrorCode(
71-
// static_cast<int>(txservice::CcErrorCode::DATA_STORE_ERR));
72-
// assert(false);
68+
LOG(INFO) << "BatchReadForArchiveCallback, key not found: "
69+
<< read_closure->Key() << " , set as deleted";
7370
std::string_view key_str = read_closure->Key();
7471
uint64_t ts = 1U;
7572
uint64_t ttl = 0U;

0 commit comments

Comments
 (0)