We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18c329 commit 5a7f5ffCopy full SHA for 5a7f5ff
src/persist-client/src/batch.rs
@@ -1294,6 +1294,19 @@ pub(crate) fn validate_truncate_batch<T: Timestamp>(
1294
}
1295
1296
1297
+ // NB(ptravers): see `compare_and_append_batch`.
1298
+ //let batch = &batch.desc;
1299
+ //if !PartialOrder::less_equal(batch.lower(), truncate.lower())
1300
+ // || PartialOrder::less_than(batch.upper(), truncate.upper())
1301
+ //{
1302
+ // return Err(InvalidUsage::InvalidBatchBounds {
1303
+ // batch_lower: batch.lower().clone(),
1304
+ // batch_upper: batch.upper().clone(),
1305
+ // append_lower: truncate.lower().clone(),
1306
+ // append_upper: truncate.upper().clone(),
1307
+ // });
1308
+ //}
1309
+
1310
Ok(())
1311
1312
0 commit comments