remove old comments
This commit is contained in:
parent
0af2e5cfe3
commit
bd1eddecd4
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user