Commit Graph

7 Commits

Author SHA1 Message Date
Pranav Joglekar 8f6feacf08
fix backups list: include region in backup urls (#13231) 2026-06-02 13:46:32 -07:00
Trevor Clinkenbeard 091aa15a2f Address clang-tidy warnings 2026-05-24 18:14:26 -07:00
Trevor Clinkenbeard c127105f57 Improve header file encapsulation 2026-04-24 16:03:07 +00:00
Michael Stack c7cac2f304
Forward port blob logging on error from 7.3 (#13007)
Apply 7.3 error logging improvements to the refactored blob store code:

- suppressFor(60) to suppressFor(1) for more frequent failure logging
- Add HttpResponseContent to the main failure trace event for all
  failures, not just 400s. Remove the now-redundant S3BlobStoreBadRequest
  event whose details are covered by the main event.
- Introduce s3BadRequestCode constant for the HTTP 400 code used in
  S3 token error handling across processRequestFailure, preRetryCheck,
  and simulateRequestFailure.
2026-04-23 09:08:52 -07:00
Arnav Aggarwal d73e33f368
Add GCS blob store support via S3-compatible XML API with OAuth2 auth (#12975) 2026-04-21 10:48:13 -07:00
Trevor Clinkenbeard e2d75e247a Consolidate client knobs header files 2026-04-18 17:11:23 +00:00
Arnav Aggarwal ea921e6420
Introduce blob store interface and refactor S3 classes (#12936)
* Refactor blob store classes to use interface

* update to make some methods non-pure virtual

* Complete IBlobStoreEndpoint interface refactoring

Move doRequest, connect, returnConnection, updateSecret, writeEntireFile,
listObjects, and deleteRecursively from S3BlobStoreEndpoint to the shared
IBlobStoreEndpoint base class. Introduce provider hook methods
(setRequestHeaders, normalizeResourceForRequest, simulateRequestFailure,
processRequestFailure, preRetryCheck, extractCredentialFields) so that
the request loop is provider-agnostic.

Rename s3_backup_test.sh to backup_restore_test.sh and update CMake
to reflect the provider-agnostic naming.

Fix double proxy absolute-form rewrite bug where both
S3BlobStoreEndpoint::normalizeResourceForRequest and the base doRequest
would prepend http://host:port for proxy connections.

Fix getResourceURL duplication by having S3's override delegate to the
base class for shared knob-params/extra-headers logic.

* resolve review comments

* remove gcs auto region block

* clang format

* Enable +x bit.

* clang tidy
2026-04-17 09:17:15 -07:00