Add TODO comment for migration to typedtree

This commit is contained in:
Arthur Carcano
2026-06-23 18:35:35 +02:00
committed by Alex
parent b277d49ad6
commit 4133476ec9
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -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>>,
}
+1
View File
@@ -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>>,
+5
View File
@@ -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,