Stamps memtable tombstones (or GDPR erasure markers) with a caller-supplied LSN. Each cell in `cells` independently selects the sentinel byte via its `erasure` flag.
(
&mut self,
id: &ArrayId,
cells: Vec<super::wal::ArrayDeleteCell>,
wal_lsn: u64,
)
| 32 | /// caller-supplied LSN. Each cell in `cells` independently selects |
| 33 | /// the sentinel byte via its `erasure` flag. |
| 34 | pub fn delete_cells( |
| 35 | &mut self, |
| 36 | id: &ArrayId, |
| 37 | cells: Vec<super::wal::ArrayDeleteCell>, |
| 38 | wal_lsn: u64, |
| 39 | ) -> ArrayEngineResult<()> { |
| 40 | if cells.is_empty() { |
| 41 | return Ok(()); |
| 42 | } |
| 43 | stamp_delete_cells(self.store_mut(id)?, cells, wal_lsn)?; |
| 44 | self.maybe_flush(id)?; |
| 45 | Ok(()) |
| 46 | } |
| 47 | |
| 48 | /// GDPR-erase a single cell at `(array, coord, system_from_ms)`. |
| 49 | /// |