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

Method ShouldRetry

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

Source from the content-addressed store, hash-verified

631 : s3_retry_strategy_(s3_retry_strategy) {}
632
633 bool ShouldRetry(const Aws::Client::AWSError<Aws::Client::CoreErrors>& error,
634 long attempted_retries) const override { // NOLINT runtime/int
635 S3RetryStrategy::AWSErrorDetail detail = ErrorToDetail(error);
636 return s3_retry_strategy_->ShouldRetry(detail,
637 static_cast<int64_t>(attempted_retries));
638 }
639
640 long CalculateDelayBeforeNextRetry( // NOLINT runtime/int
641 const Aws::Client::AWSError<Aws::Client::CoreErrors>& error,

Callers

nothing calls this directly

Calls 1

ShouldRetryMethod · 0.45

Tested by

no test coverage detected