MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / unmark_deleted

Method unmark_deleted

nodedb-columnar/src/delete_bitmap.rs:127–129  ·  view source on GitHub ↗

Remove a row from the deleted set (undo a tombstone). Used exclusively by transaction rollback to clear tombstones that were set by a preceding insert's upsert path. Returns true if the row was previously deleted, false if it was already live.

(&mut self, row_idx: u32)

Source from the content-addressed store, hash-verified

125 /// were set by a preceding insert's upsert path. Returns true if the
126 /// row was previously deleted, false if it was already live.
127 pub fn unmark_deleted(&mut self, row_idx: u32) -> bool {
128 self.inner.remove(row_idx)
129 }
130
131 /// Merge another bitmap into this one (union). Used during compaction
132 /// to combine delete bitmaps from multiple source segments.

Callers 1

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected