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

Method append_put

nodedb/src/wal/manager/append.rs:31–39  ·  view source on GitHub ↗
(
        &self,
        tid: TenantId,
        vs: VShardId,
        db: DatabaseId,
        p: &[u8],
    )

Source from the content-addressed store, hash-verified

29 }
30
31 pub fn append_put(
32 &self,
33 tid: TenantId,
34 vs: VShardId,
35 db: DatabaseId,
36 p: &[u8],
37 ) -> crate::Result<Lsn> {
38 self.append_record(RecordType::Put, tid, vs, db, p)
39 }
40
41 pub fn append_delete(
42 &self,

Callers 5

append_and_replayFunction · 0.80
truncate_reclaims_spaceFunction · 0.80

Calls 1

append_recordMethod · 0.80

Tested by 4

append_and_replayFunction · 0.64
truncate_reclaims_spaceFunction · 0.64