:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(batch-import): disable S3 response checksum validation for ranged GETs (#66633)
José Sequeira950034e7d653
diff --git a/rust/batch-import-worker/src/job/config.rs b/rust/batch-import-worker/src/job/config.rsindex 40dacb7828d5..1c7655f82bed 100644--- a/rust/batch-import-worker/src/job/config.rs+++ b/rust/batch-import-worker/src/job/config.rs@@ -379,6 +379,11 @@ impl S3SourceConfig {.region(Region::new(self.region.clone())).credentials_provider(aws_credentials).behavior_version(BehaviorVersion::latest())+ // S3-compatible stores (GCS) return whole-object checksums on ranged GETs, which the+ // SDK then validates against the partial body and fails. Only validate when requested.+ .response_checksum_validation(+ aws_sdk_s3::config::ResponseChecksumValidation::WhenRequired,+ ).timeout_config(TimeoutConfig::builder().operation_timeout(Duration::from_secs(30))