aboutsummaryrefslogtreecommitdiff
path: root/src/table/table.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-09 12:55:36 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-09 12:55:36 +0100
commit8a2b1dd422fb57abe611d8c1cf3cb0b55f487189 (patch)
tree2109cf405af3489eff0cbdd132ea2862c844214c /src/table/table.rs
parent523d2ecb9511f74e144cd116b942d6c1bf0f546d (diff)
downloadgarage-8a2b1dd422fb57abe611d8c1cf3cb0b55f487189.tar.gz
garage-8a2b1dd422fb57abe611d8c1cf3cb0b55f487189.zip
wip: split out layout management from System into separate LayoutManager
Diffstat (limited to 'src/table/table.rs')
-rw-r--r--src/table/table.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/table/table.rs b/src/table/table.rs
index 7ad79677..3e3fd138 100644
--- a/src/table/table.rs
+++ b/src/table/table.rs
@@ -123,7 +123,7 @@ impl<F: TableSchema, R: TableReplication> Table<F, R> {
let rpc = TableRpc::<F>::Update(vec![e_enc]);
self.system
- .rpc
+ .rpc_helper()
.try_call_many(
&self.endpoint,
&who[..],
@@ -181,7 +181,7 @@ impl<F: TableSchema, R: TableReplication> Table<F, R> {
let resp = self
.system
- .rpc
+ .rpc_helper()
.call(
&self.endpoint,
node,
@@ -236,7 +236,7 @@ impl<F: TableSchema, R: TableReplication> Table<F, R> {
let rpc = TableRpc::<F>::ReadEntry(partition_key.clone(), sort_key.clone());
let resps = self
.system
- .rpc
+ .rpc_helper()
.try_call_many(
&self.endpoint,
&who[..],
@@ -332,7 +332,7 @@ impl<F: TableSchema, R: TableReplication> Table<F, R> {
let resps = self
.system
- .rpc
+ .rpc_helper()
.try_call_many(
&self.endpoint,
&who[..],
@@ -411,7 +411,7 @@ impl<F: TableSchema, R: TableReplication> Table<F, R> {
async fn repair_on_read(&self, who: &[Uuid], what: F::E) -> Result<(), Error> {
let what_enc = Arc::new(ByteBuf::from(what.encode()?));
self.system
- .rpc
+ .rpc_helper()
.try_call_many(
&self.endpoint,
who,