aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorserg-belyakov <serg-belyakov@yandex-team.com>2023-10-31 20:02:10 +0300
committerserg-belyakov <serg-belyakov@yandex-team.com>2023-10-31 20:22:43 +0300
commitbccd10b01f4f4591ae6ac05bec032227e314f06c (patch)
tree6dd86092865475fab33032ebe2fef634f0654308
parentf44f6fcd9e32211d2e98d19d9ff6e250c69bb8af (diff)
downloadydb-bccd10b01f4f4591ae6ac05bec032227e314f06c.tar.gz
Handle TEvConfigureProxy in dsproxy mock, KIKIMR-19195
Handle TEvConfigureProxy
-rw-r--r--ydb/core/blobstorage/dsproxy/mock/dsproxy_mock.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ydb/core/blobstorage/dsproxy/mock/dsproxy_mock.cpp b/ydb/core/blobstorage/dsproxy/mock/dsproxy_mock.cpp
index 8697c05659..777ecf4b7e 100644
--- a/ydb/core/blobstorage/dsproxy/mock/dsproxy_mock.cpp
+++ b/ydb/core/blobstorage/dsproxy/mock/dsproxy_mock.cpp
@@ -67,6 +67,10 @@ namespace NKikimr {
PassAway();
}
+ void Handle(TEvBlobStorage::TEvConfigureProxy::TPtr&/* ev*/) {
+ // do nothing, Model has neither monitoring counters nor Topology
+ }
+
STATEFN(StateFunc) {
switch (const ui32 type = ev->GetTypeRewrite()) {
hFunc(TEvBlobStorage::TEvPut, Handle);
@@ -78,6 +82,7 @@ namespace NKikimr {
hFunc(TEvBlobStorage::TEvStatus, Handle);
hFunc(TEvents::TEvPoisonPill, HandlePoison);
+ hFunc(TEvBlobStorage::TEvConfigureProxy, Handle);
default:
Y_ABORT("unexpected event 0x%08" PRIx32, type);