pub(crate) async fn do_update_sanity_check(
key: &TableKey<Bytes>,
old_value: &Bytes,
new_value: &Bytes,
inner: &impl StateStoreRead,
epoch: u64,
table_id: TableId,
table_option: TableOption,
op_consistency_level: &OpConsistencyLevel,
) -> StorageResult<()>
Expand description
Make sure that the key to update should exist in storage and the value should be matched