aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-07-02 20:23:41 +0300
committerVasily Gerasimov <UgnineSirdis@gmail.com>2022-07-02 20:23:41 +0300
commit89c9c76f663b3f64b25524b84dd40f86f04a0ed1 (patch)
tree8471e7989095d257c54ffa57d4dfbbbb7b2b5dea
parent99ad329e6380ed8ecde059502af67fa647a14216 (diff)
downloadydb-89c9c76f663b3f64b25524b84dd40f86f04a0ed1.tar.gz
Add VERIFY on vector index
Add VERIFY on vector index ref:6ccbfa61f0e84af12b8a24d39359775ecce59f86
-rw-r--r--ydb/core/yq/libs/actors/nodes_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/yq/libs/actors/nodes_manager.cpp b/ydb/core/yq/libs/actors/nodes_manager.cpp
index 2b6b9dc974..7edd6962f7 100644
--- a/ydb/core/yq/libs/actors/nodes_manager.cpp
+++ b/ydb/core/yq/libs/actors/nodes_manager.cpp
@@ -103,6 +103,7 @@ private:
if (!Peers.empty()) {
auto FirstPeer = NextPeer;
while (true) {
+ Y_VERIFY(NextPeer < Peers.size());
auto& nextNode = Peers[NextPeer];
if (++NextPeer >= Peers.size()) {