Skip to content

Commit

Permalink
Report UserSID for all gRPC-issued BSC operations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru committed May 7, 2024
1 parent 6dceba0 commit 264b163
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/client/server/msgbus_blobstorage_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class TMessageBusBlobStorageConfig
TEvBlobStorage::TEvControllerConfigRequest *MakeReq(const TActorContext&) {
auto ev = MakeHolder<TEvBlobStorage::TEvControllerConfigRequest>();
auto &record = ev->Record;
Request.SetUserSID(GetUserSID());
Request.Swap(record.MutableRequest());
return ev.Release();
}
Expand Down
3 changes: 3 additions & 0 deletions ydb/core/protos/blobstorage_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,9 @@ message TConfigRequest {

// is this command originated by self-heal decommission?
bool IsSelfHealReasonDecommit = 12;

// requesting user identifier
string UserSID = 13;
}

enum ETriStateBool {
Expand Down

0 comments on commit 264b163

Please sign in to comment.