You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add kcb_identity field on RequestCommon + thrift header write (#480)
Summary:
X-link: facebookresearch/DCPerf#674
Pull Request resolved: #480
Adds the `kcbIdentity` field to `carbon::RequestCommon` (mirrors the existing `clientIdentifier` and `cryptoAuthToken` fields), and updates the carbon compiler template to emit a `setWriteHeader(kKcbIdentityHeader, ...)` block in every generated `*ThriftTransport.h`. This is the wire-format support for Generalized KCB: callers set `request.setKcbIdentity(aclName)` and the transport writes the `kcb_identity` thrift header on the outgoing thrift call so the UCache server can bind the cache key to the named ACL group
Reviewed By: antonf
Differential Revision: D104245265
fbshipit-source-id: 07c975c74a1dd8f5feb0bfac064b7301204a491a
0 commit comments