diff options
author | osidorkin <osidorkin@yandex-team.com> | 2024-09-27 21:51:32 +0300 |
---|---|---|
committer | osidorkin <osidorkin@yandex-team.com> | 2024-09-27 22:01:04 +0300 |
commit | 55c711d26048691eba675e53fb4a4ee7d7955b4a (patch) | |
tree | d6f3a69b3d5c14dd3072390adb796f74b4965357 | |
parent | 53dd480d3a68961a7369674c26304530bc1ac392 (diff) | |
download | ydb-55c711d26048691eba675e53fb4a4ee7d7955b4a.tar.gz |
YT-22910: Use last history item timestamp as max timestamp if sync replica is lagging too much: Drop unused method
commit_hash:33a3adf82556e81088d9cdb27a5071edaf628a38
-rw-r--r-- | yt/yt/client/chaos_client/replication_card.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/yt/yt/client/chaos_client/replication_card.cpp b/yt/yt/client/chaos_client/replication_card.cpp index 2c85b5f437..78b2be376c 100644 --- a/yt/yt/client/chaos_client/replication_card.cpp +++ b/yt/yt/client/chaos_client/replication_card.cpp @@ -93,14 +93,6 @@ EReplicationCardOptionsBits ToBitMask(const TReplicationCardFetchOptions& option return mask; } -bool IsReplicaProgressBeyondHistory( - const TReplicationProgress& replicationProgress, - const TReplicaHistoryItem& historyItem) -{ - auto minTimestamp = GetReplicationProgressMinTimestamp(replicationProgress); - return minTimestamp >= historyItem.Timestamp; -} - } // namespace NDetail //////////////////////////////////////////////////////////////////////////////// |