(&mut self, data_id: &ShardId, key: K, val: V, diff: D)
| 88 | /// make the ts rewrite op efficient. |
| 89 | #[allow(clippy::unused_async)] |
| 90 | pub async fn write(&mut self, data_id: &ShardId, key: K, val: V, diff: D) { |
| 91 | self.writes |
| 92 | .entry(*data_id) |
| 93 | .or_default() |
| 94 | .writes |
| 95 | .push((key, val, diff)) |
| 96 | } |
| 97 | |
| 98 | /// Stage a [`Batch`] to the in-progress txn. |
| 99 | /// |
no test coverage detected