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 getTotalBufferedBytes() method fo AsyncTransport
Summary:
When BufferCallback::onEgressBuffered() is called, applications usually want to
know how many bytes were buffered so that can take actions (such as avoiding
that connection, failing fast, etc).
This diff adds getTotalPendingBytes() to AsyncTransport to allow applications
to easily query how many bytes were actually buffered.
Reviewed By: spalamarchuk
Differential Revision: D13252677
fbshipit-source-id: 8ec203f6764e00f52d471321afb549376397eb84
Fix possible move eval issue
Summary: Some static analysis tools/linters complained about eval order and doing std::move. Also complained about shadowing the keepAlive var. Fix both.
Reviewed By: andreazevedo
Differential Revision: D8287675
fbshipit-source-id: ee20b7c2afe9bb79b835fb4b3e6ca09cc2b0042d
Allow using EagerShardSelectionRoute with LatestRoute
Summary: Add support for nesting LatestRoute in EagerShardSelectionRoute.
Reviewed By: glamtechie
Differential Revision: D6832737
fbshipit-source-id: 94f8f7d9b78d76d470e19923c2ccb23f16c94a7d
Log failure to dump configs less frequently
Summary: It's not necessary to log every single failure to dump last valid configs.
Reviewed By: jmswen
Differential Revision: D4711040
fbshipit-source-id: 774f2659213dcdfe23ef927092397f2b1e71cc5e