From 7ac7b7c483de20ccdce1f9192f97e8a13f250a89 Mon Sep 17 00:00:00 2001 From: Marko Budiselic Date: Sun, 8 May 2022 07:50:33 +0200 Subject: [PATCH] Update comment --- src/storage/v2/storage.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/storage/v2/storage.cpp b/src/storage/v2/storage.cpp index d04ff58e5..cb1b0b717 100644 --- a/src/storage/v2/storage.cpp +++ b/src/storage/v2/storage.cpp @@ -943,7 +943,10 @@ utils::BasicResult Storage::Accessor::Commit( // NOTE: This will finish/commit the transaction. storage_->commit_log_->MarkFinished(start_timestamp); - // TODO(gitbuda): Maybe the solution here is to 1. mark 2. check all the replicas 3. unmark if required + // TODO(gitbuda): Maybe the solution here is to 1. mark 2. check all + // the replicas 3. unmark if required... it's not possible to unmark + // easily because mark contains mark + update_latest_active which is + // not reversable operation } }