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

Method append_transaction

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

Source from the content-addressed store, hash-verified

79 }
80
81 pub fn append_transaction(
82 &self,
83 tid: TenantId,
84 vs: VShardId,
85 db: DatabaseId,
86 p: &[u8],
87 ) -> crate::Result<Lsn> {
88 self.append_record(RecordType::Transaction, tid, vs, db, p)
89 }
90
91 pub fn append_crdt_delta(
92 &self,

Callers 2

handle_commitMethod · 0.80
handle_commitFunction · 0.80

Calls 1

append_recordMethod · 0.80

Tested by

no test coverage detected