Skip to content

Commit 1d464df

Browse files
authored
Lower s3 chunking default from 33GB to 10GB (#3149)
seeing errors on smaller instances over memory consumption & taking too long to process 30GB
1 parent 40b6e73 commit 1d464df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/internal/dynamicconf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ var DynamicSettings = [...]*protos.DynamicSetting{
164164
{
165165
Name: "PEERDB_S3_BYTES_PER_AVRO_FILE",
166166
Description: "S3 upload chunk size in bytes, needed for large unpartitioned initial loads.",
167-
DefaultValue: "33333333333", // chosen to be round 30GB, but align with about half of 64MiB because S3 part size
167+
DefaultValue: "10000000000", // 10GB, not GiB so to not align with 64MiB to avoid always having tiny part at end
168168
ValueType: protos.DynconfValueType_INT,
169169
ApplyMode: protos.DynconfApplyMode_APPLY_MODE_IMMEDIATE,
170170
},

0 commit comments

Comments
 (0)