MCPcopy Create free account
hub / github.com/deventlab/d-engine / insert_batch

Method insert_batch

d-engine-core/src/storage/raft_log.rs:278–283  ·  view source on GitHub ↗

Alias for append_entries (for backward compatibility). # Safety Invariants - MUST have identical semantics to append_entries()

(
        &self,
        logs: Vec<Entry>,
    )

Source from the content-addressed store, hash-verified

276 /// # Safety Invariants
277 /// - MUST have identical semantics to append_entries()
278 async fn insert_batch(
279 &self,
280 logs: Vec<Entry>,
281 ) -> Result<()> {
282 self.append_entries(logs).await
283 }
284
285 /// Resolves log conflicts and appends new entries atomically.
286 ///

Implementers 1

buffered_raft_log.rsd-engine-core/src/storage/buffered_raf

Calls 1

append_entriesMethod · 0.45