Implement Server-side Weightless Restriction
commitc0bf093d09c20fbd61e832b921531b3ba51ca12b
authorShweta Chatrola <[email protected]>
Thu, 30 Oct 2025 21:31:58 +0000 (30 14:31 -0700)
committermeta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
Thu, 30 Oct 2025 21:31:58 +0000 (30 14:31 -0700)
tree1073379576b2e499b8e71d9e87dc8e19d4b1e9eb
parent1b15b8005b5fdfac99938a80d38e4554593cfbb9
Implement Server-side Weightless Restriction

Summary:
Similar to earlier support for secondaryLoad (D69263546), need to add support for additional stopper metric for this.

Ref : https://docs.google.com/document/d/1Ip-cS-vr4hJ5_a96EanQPWnBQ1q8_UxZREIOyvwdnCY/edit?tab=t.0#heading=h.r458k179yes7

Reviewed By: praihan

Differential Revision: D83109218

fbshipit-source-id: 50d28bec35b8967b5d01b064305a66d2265e4cd6
third-party/thrift/src/thrift/lib/cpp/transport/THeader.h
third-party/thrift/src/thrift/lib/cpp2/server/Cpp2Connection.cpp
third-party/thrift/src/thrift/lib/cpp2/test/server/ThriftServerTest.cpp
third-party/thrift/src/thrift/lib/cpp2/transport/core/RpcMetadataUtil.cpp
third-party/thrift/src/thrift/lib/cpp2/transport/core/ThriftRequest.cpp
third-party/thrift/src/thrift/lib/cpp2/transport/core/ThriftRequest.h
third-party/thrift/src/thrift/lib/thrift/RpcMetadata.thrift