cql: introduce update_parameters::make_tombstone_just_before()

Addresses a quirk in how collection tombstones are compared vs. cells:
a timestamp tie goes to the tombstone.  Matches origin.
This commit is contained in:
Avi Kivity
2015-03-23 20:13:43 +02:00
parent c77648da6e
commit fec79ac147

View File

@@ -94,6 +94,10 @@ public:
return {_timestamp, _local_deletion_time};
}
tombstone make_tombstone_just_before() const {
return {_timestamp, _local_deletion_time - gc_clock::duration(1) };
}
#if 0
public RangeTombstone makeRangeTombstone(ColumnSlice slice) throws InvalidRequestException
{