Insert a GDPR erasure sentinel for `coord` in this version. Distinct from tombstone: byte value `0xFE` vs `0xFF`. The ceiling resolver and compaction path treat them differently — erasure markers are physically removed by compaction once outside the audit-retention horizon, whereas tombstones may be retained.
(&mut self, coord: &Vec<CoordValue>, lsn: u64)
| 100 | /// are physically removed by compaction once outside the audit-retention |
| 101 | /// horizon, whereas tombstones may be retained. |
| 102 | pub fn push_erasure(&mut self, coord: &Vec<CoordValue>, lsn: u64) -> ArrayResult<()> { |
| 103 | let key = Self::encode_coord(coord)?; |
| 104 | self.entries |
| 105 | .insert(key, CELL_GDPR_ERASURE_SENTINEL.to_vec()); |
| 106 | self.last_lsn = self.last_lsn.max(lsn); |
| 107 | Ok(()) |
| 108 | } |
| 109 | |
| 110 | /// Count of entries (including tombstones). |
| 111 | pub fn entry_count(&self) -> usize { |
no test coverage detected