Stage a [`Batch`] to the in-progress txn. The timestamp will be assigned at commit time.
(&mut self, data_id: &ShardId, batch: ProtoBatch)
| 99 | /// |
| 100 | /// The timestamp will be assigned at commit time. |
| 101 | pub fn write_batch(&mut self, data_id: &ShardId, batch: ProtoBatch) { |
| 102 | self.writes.entry(*data_id).or_default().staged.push(batch) |
| 103 | } |
| 104 | |
| 105 | /// Commit this transaction at `commit_ts`. |
| 106 | /// |
no test coverage detected