Alias for append_entries (for backward compatibility). # Safety Invariants - MUST have identical semantics to append_entries()
(
&self,
logs: Vec<Entry>,
)
| 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 | /// |