Skip to content

Commit 06abc82

Browse files
committed
feat: enable chunked storage for database instances with valid S3 credentials
1 parent d1e2b99 commit 06abc82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/class.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,6 +2083,7 @@ void *run_wal_flush(void *arg) {
20832083
}
20842084
if (db->s3_endpoint && db->s3_bucket && db->s3_access_key && db->s3_secret_key && db->db_id) {
20852085
ARK_STORE(&db->s3_creds_loaded, 1);
2086+
db->chunk_enabled = 1;
20862087
ark_log(db, ARK_LOG_INFO, "storage credentials cached — direct S3 upload enabled");
20872088
}
20882089
}

0 commit comments

Comments
 (0)