aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Rutkovsky <alexvru@ydb.tech>2024-07-08 18:07:28 +0300
committerGitHub <noreply@github.com>2024-07-08 15:07:28 +0000
commitd65d7eac11ea370db5ccc03af73c7ac95c76ac4c (patch)
treea34c7cb8b5f5b66a984028a2196f0ad29de0883f
parent4cc05ae592ef753b566a8b8d77b258aefc3678bf (diff)
downloadydb-d65d7eac11ea370db5ccc03af73c7ac95c76ac4c.tar.gz
Fix VDisk replication stuck sensor bug (#6405)
-rw-r--r--ydb/core/blobstorage/vdisk/repl/blobstorage_repl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/blobstorage/vdisk/repl/blobstorage_repl.cpp b/ydb/core/blobstorage/vdisk/repl/blobstorage_repl.cpp
index bdec548c93..45f7f4250a 100644
--- a/ydb/core/blobstorage/vdisk/repl/blobstorage_repl.cpp
+++ b/ydb/core/blobstorage/vdisk/repl/blobstorage_repl.cpp
@@ -425,8 +425,8 @@ namespace NKikimr {
// no more blobs to replicate; replication will not resume
State = Finished;
ReplCtx->MonGroup.ReplUnreplicatedVDisks() = 0;
- ReplCtx->MonGroup.ReplUnreplicatedPhantoms() = 1;
- ReplCtx->MonGroup.ReplUnreplicatedNonPhantoms() = 1;
+ ReplCtx->MonGroup.ReplUnreplicatedPhantoms() = 0;
+ ReplCtx->MonGroup.ReplUnreplicatedNonPhantoms() = 0;
ReplCtx->MonGroup.ReplWorkUnitsRemaining() = 0;
ReplCtx->MonGroup.ReplWorkUnitsDone() = 0;
ReplCtx->MonGroup.ReplItemsRemaining() = 0;