mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-07-26 07:58:14 +00:00
Add TODO comment for migration to typedtree
This commit is contained in:
@@ -163,6 +163,7 @@ impl<T: CountedItem> TableSchema for CounterTable<T> {
|
||||
|
||||
pub struct IndexCounter<T: CountedItem> {
|
||||
this_node: Uuid,
|
||||
// TODO: migrate to TypedTree
|
||||
local_counter: db::Tree,
|
||||
pub table: Arc<Table<CounterTable<T>, TableShardedReplication>>,
|
||||
}
|
||||
|
||||
@@ -84,6 +84,7 @@ pub struct K2VRpcHandler {
|
||||
// Using a mutex on the local_timestamp_tree is not strictly necessary,
|
||||
// but it helps to not try to do several inserts at the same time,
|
||||
// which would create transaction conflicts and force many useless retries.
|
||||
// TODO: migrate to TypedTree
|
||||
local_timestamp_tree: Mutex<db::Tree>,
|
||||
|
||||
endpoint: Arc<Endpoint<K2VRpc, Self>>,
|
||||
|
||||
@@ -26,15 +26,20 @@ pub struct TableData<F: TableSchema, R: TableReplication> {
|
||||
pub instance: F,
|
||||
pub replication: R,
|
||||
|
||||
// TODO: migrate to TypedTree
|
||||
pub store: db::Tree,
|
||||
|
||||
// TODO: migrate to TypedTree
|
||||
pub(crate) merkle_tree: db::Tree,
|
||||
// TODO: migrate to TypedTree
|
||||
pub(crate) merkle_todo: db::Tree,
|
||||
pub(crate) merkle_todo_notify: Notify,
|
||||
|
||||
// TODO: migrate to TypedTree
|
||||
pub(crate) insert_queue: db::Tree,
|
||||
pub(crate) insert_queue_notify: Arc<Notify>,
|
||||
|
||||
// TODO: migrate to TypedTree
|
||||
pub(crate) gc_todo: db::Tree,
|
||||
|
||||
pub(crate) metrics: TableMetrics,
|
||||
|
||||
Reference in New Issue
Block a user