MCPcopy Create free account
hub / github.com/apache/arrow / ShouldRetry

Method ShouldRetry

cpp/src/arrow/filesystem/s3fs.cc:573–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571 : s3_retry_strategy_(s3_retry_strategy) {}
572
573 bool ShouldRetry(const Aws::Client::AWSError<Aws::Client::CoreErrors>& error,
574 long attempted_retries) const override { // NOLINT runtime/int
575 S3RetryStrategy::AWSErrorDetail detail = ErrorToDetail(error);
576 return s3_retry_strategy_->ShouldRetry(detail,
577 static_cast<int64_t>(attempted_retries));
578 }
579
580 long CalculateDelayBeforeNextRetry( // NOLINT runtime/int
581 const Aws::Client::AWSError<Aws::Client::CoreErrors>& error,

Callers

nothing calls this directly

Calls 1

ShouldRetryMethod · 0.45

Tested by

no test coverage detected