Skip to content

Commit

Permalink
Merge branch 'ydb-platform:stable-24-1' into stable-24-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jepett0 authored Mar 7, 2024
2 parents 5e4aec9 + c206738 commit 3acf9dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/core/grpc_services/rpc_rate_limiter_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class TRateLimiterRequest : public TRpcOperationRequestActor<TDerived, TRequest>
if (resource.has_metering_config()) {
auto self = static_cast<TDerived*>(this);
const auto& userTokenStr = self->Request_->GetSerializedToken();
bool allowed = false;
bool allowed = AppData()->AdministrationAllowedSIDs.empty();
if (userTokenStr) {
NACLib::TUserToken userToken(userTokenStr);
for (auto &sid : AppData()->AdministrationAllowedSIDs) {
Expand Down
4 changes: 3 additions & 1 deletion ydb/services/deprecated/persqueue_v0/grpc_pq_write_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,9 @@ void TWriteSessionActor::LogSession(const TActorContext& ctx) {
}

void TWriteSessionActor::HandleWakeup(const TActorContext& ctx) {
Y_ABORT_UNLESS(State == ES_INITED);
if (State != ES_INITED) {
return;
}

auto now = ctx.Now();

Expand Down

0 comments on commit 3acf9dd

Please sign in to comment.