Skip to content

Commit

Permalink
add warning when no data_info column family exists for payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-Schleich committed Jul 3, 2024
1 parent 3297e61 commit 43205f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,7 @@ fn get_kv(db: &DB, key: Option<OwnedKeyExpr>) -> ZResult<Option<(Value, Timestam
}
(Ok(_), Ok(None)) => {
trace!("second ok");
// Only the payload is present in DB!
// Possibly legacy data. Consider as encoding as APP_OCTET_STREAM and create timestamp from now()
warn!("no {CF_DATA_INFO} in database, hoowever payload data exists. Possible Legacy / Dirty state of Database. Unsupported in case of Replication");
Ok(None)
}
(Ok(None), _) => Ok(None),
Expand Down

0 comments on commit 43205f0

Please sign in to comment.