diff options
author | Alex Auvolat <alex@adnab.me> | 2023-11-09 16:32:31 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-11-09 16:32:31 +0100 |
commit | df36cf3099f6010c4fc62109b85d4d1e62f160cc (patch) | |
tree | c2ad68640220da38796d63f24117cf56f3f77bb9 /src/table | |
parent | 9d95f6f7040c1899715ae4f984313427b1432758 (diff) | |
download | garage-df36cf3099f6010c4fc62109b85d4d1e62f160cc.tar.gz garage-df36cf3099f6010c4fc62109b85d4d1e62f160cc.zip |
layout: add helpers to LayoutHistory and prepare integration with Table
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/table.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/table.rs b/src/table/table.rs index 3e3fd138..997fd7dc 100644 --- a/src/table/table.rs +++ b/src/table/table.rs @@ -80,6 +80,8 @@ impl<F: TableSchema, R: TableReplication> Table<F, R> { let syncer = TableSyncer::new(system.clone(), data.clone(), merkle_updater.clone()); let gc = TableGc::new(system.clone(), data.clone()); + system.layout_manager.add_table(F::TABLE_NAME); + let table = Arc::new(Self { system, data, |