From 48f0a0ab6fda2b2bdaa486b5da232179be7ace4c Mon Sep 17 00:00:00 2001 From: Tobias Grieger Date: Mon, 19 Dec 2022 16:05:01 +0100 Subject: [PATCH] kvserver: add a TODO Epic: none Release note: None --- pkg/kv/kvserver/store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kv/kvserver/store.go b/pkg/kv/kvserver/store.go index e3117d39eb2f..0b20974d73fa 100644 --- a/pkg/kv/kvserver/store.go +++ b/pkg/kv/kvserver/store.go @@ -1939,6 +1939,7 @@ func loadFullReplicaIDsFromDisk( // store. It reconciles inconsistent state and runs validation checks. // // TODO(sep-raft-log): also load *uninitialized* Replicas. +// TOOD(sep-raft-log): consider a callback-visitor pattern here. func loadAndReconcileReplicas(ctx context.Context, eng storage.Engine) (*engineReplicas, error) { ident, err := ReadStoreIdent(ctx, eng) if err != nil {