MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / put_write_for_commit

Method put_write_for_commit

src/txn-wal/src/txns.rs:824–829  ·  view source on GitHub ↗
(&mut self, data_write: DataWriteCommit<K, V, T, D>)

Source from the content-addressed store, hash-verified

822 }
823
824 pub(crate) fn put_write_for_commit(&mut self, data_write: DataWriteCommit<K, V, T, D>) {
825 let prev = self
826 .data_write_for_commit
827 .insert(data_write.shard_id(), data_write);
828 assert!(prev.is_none());
829 }
830}
831
832/// A newtype wrapper around [WriteHandle] indicating that it has a real schema

Callers 1

commit_atMethod · 0.80

Calls 2

insertMethod · 0.45
shard_idMethod · 0.45

Tested by

no test coverage detected