Skip to content

Commit c7df745

Browse files
committed
aboba
1 parent 0d9d127 commit c7df745

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

cloud/blockstore/libs/storage/api/fresh_blocks_writer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#include <cloud/blockstore/libs/kikimr/components.h>
66
#include <cloud/blockstore/libs/kikimr/events.h>
7-
#include <cloud/blockstore/libs/storage/model/channel_permissions.h>
87

98
namespace NCloud::NBlockStore::NStorage::NFreshBlocksWriter {
109

cloud/blockstore/libs/storage/fresh_blocks_writer/fresh_blocks_writer_actor.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -257,20 +257,6 @@ void TFreshBlocksWriterActor::HandleWaitReady(
257257
NCloud::Reply(ctx, *ev, std::move(response));
258258
}
259259

260-
void TFreshBlocksWriterActor::HandleUpdateChannelPermissions(
261-
const TEvFreshBlocksWriter::TEvUpdateChannelPermissions::TPtr& ev,
262-
const NActors::TActorContext& ctx)
263-
{
264-
Y_UNUSED(ctx);
265-
266-
auto* msg = ev->Get();
267-
for (auto& channel: TabletStorageInfo->Channels) {
268-
ChannelsState->UpdatePermissions(
269-
channel.Channel,
270-
msg->Permissions[channel.Channel]);
271-
}
272-
}
273-
274260
bool TFreshBlocksWriterActor::HandleRequests(STFUNC_SIG)
275261
{
276262
switch (ev->GetTypeRewrite()) {
@@ -346,10 +332,6 @@ STFUNC(TFreshBlocksWriterActor::StateWork)
346332
HFunc(TEvents::TEvPoisonPill, PoisonPillHelper.HandlePoisonPill);
347333
HFunc(TEvents::TEvPoisonTaken, PoisonPillHelper.HandlePoisonTaken);
348334

349-
HFunc(
350-
TEvFreshBlocksWriter::TEvUpdateChannelPermissions,
351-
HandleUpdateChannelPermissions);
352-
353335
default:
354336
if (!IOCompanion->HandleRequests(ev, this->ActorContext()) &&
355337
!HandleRequests(ev))

cloud/blockstore/libs/storage/fresh_blocks_writer/fresh_blocks_writer_actor.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ class TFreshBlocksWriterActor final
125125
ev,
126126
const NActors::TActorContext& ctx);
127127

128-
void HandleUpdateChannelPermissions(
129-
const TEvFreshBlocksWriter::TEvUpdateChannelPermissions::TPtr& ev,
130-
const NActors::TActorContext& ctx);
131-
132128
bool HandleRequests(STFUNC_SIG);
133129
bool RejectRequests(STFUNC_SIG);
134130

0 commit comments

Comments
 (0)