MCPcopy Create free account
hub / github.com/apache/brpc / has_backup_request

Method has_backup_request

src/brpc/controller.h:209–209  ·  view source on GitHub ↗

True if a backup request was sent during the RPC.

Source from the content-addressed store, hash-verified

207
208 // True if a backup request was sent during the RPC.
209 bool has_backup_request() const { return has_flag(FLAGS_BACKUP_REQUEST); }
210
211 // This function has different meanings in client and server side.
212 // In client side it gets latency of the RPC call. While in server side,

Callers 2

TestBackupRequestMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestBackupRequestMethod · 0.64