remove old comments

This commit is contained in:
antoniofilipovic 2024-02-27 17:11:51 +01:00 committed by Antonio Filipovic
parent 0af2e5cfe3
commit bd1eddecd4
3 changed files with 0 additions and 3 deletions

View File

@ -304,7 +304,6 @@ void InMemoryReplicationHandlers::SnapshotHandler(dbms::DbmsHandler *dbms_handle
} }
storage_guard.unlock(); storage_guard.unlock();
// TODO AF: Do we update last_commit_timestamp here
storage::replication::SnapshotRes res{true, storage->repl_storage_state_.last_commit_timestamp_.load()}; storage::replication::SnapshotRes res{true, storage->repl_storage_state_.last_commit_timestamp_.load()};
slk::Save(res, res_builder); slk::Save(res, res_builder);

View File

@ -91,7 +91,6 @@ void SystemRecoveryHandler(memgraph::system::ReplicaHandlerAccessToState &system
/* /*
* SUCCESSFUL RECOVERY * SUCCESSFUL RECOVERY
*/ */
// TODO AF: what to do with LastCommittedTS
system_state_access.SetLastCommitedTS(req.forced_group_timestamp); system_state_access.SetLastCommitedTS(req.forced_group_timestamp);
spdlog::debug("SystemRecoveryHandler: SUCCESS updated LCTS to {}", req.forced_group_timestamp); spdlog::debug("SystemRecoveryHandler: SUCCESS updated LCTS to {}", req.forced_group_timestamp);
res = SystemRecoveryRes(SystemRecoveryRes::Result::SUCCESS); res = SystemRecoveryRes(SystemRecoveryRes::Result::SUCCESS);

View File

@ -110,7 +110,6 @@ void ReplicationStorageState::TrackLatestHistory() {
} }
void ReplicationStorageState::AddEpochToHistoryForce(std::string prev_epoch) { void ReplicationStorageState::AddEpochToHistoryForce(std::string prev_epoch) {
spdlog::trace("ADDING EPOCH TO HISTORY ID FORCEFULLY: {}, timestamp {}", prev_epoch, last_commit_timestamp_);
history.emplace_back(std::move(prev_epoch), last_commit_timestamp_); history.emplace_back(std::move(prev_epoch), last_commit_timestamp_);
} }