Skip to content

Commit c48ce22

Browse files
committed
feat(ducklake): enable compaction by default
Per-flush Parquet files and DuckLake snapshots accumulate quickly; without periodic merge/expire/cleanup the catalog and file count grow unbounded. Flip compaction.enable default false -> true so maintenance (including the inlined-data flush) runs out of the box. Operators can still opt out explicitly. Bump 11.0.233 -> 11.0.234.
1 parent f6f898a commit c48ce22

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/config/config.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -652,9 +652,12 @@ type VolumeConfig struct {
652652
// CompactionConfig configures automatic compaction and retention
653653
type CompactionConfig struct {
654654
// Enable turns on periodic compaction on the writer DuckLake catalog.
655-
// When storage_policy has multiple volumes and at least one local volume,
656-
// the writer forces compaction on regardless of this flag (hot parquet).
657-
Enable bool `json:"enable" mapstructure:"enable" default:"false"`
655+
// On by default: small per-flush Parquet files and DuckLake snapshots
656+
// accumulate quickly, so without periodic merge/expire/cleanup the catalog
657+
// and file count grow unbounded. When storage_policy has multiple volumes
658+
// and at least one local volume, the writer forces compaction on regardless
659+
// of this flag (hot parquet). Set to false only to opt out explicitly.
660+
Enable bool `json:"enable" mapstructure:"enable" default:"true"`
658661
CheckIntervalSec int `json:"check_interval_sec" mapstructure:"check_interval_sec" default:"3600"` // 1 hour
659662
RetentionDays int `json:"retention_days" mapstructure:"retention_days" default:"0"` // 0 = disabled
660663
// SnapshotExpireIntervalSec controls how long to keep DuckLake snapshots (seconds).

src/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
// Version information for homer-core
2525
var (
2626
// VERSION_APPLICATION is the application version
27-
VERSION_APPLICATION = "11.0.233"
27+
VERSION_APPLICATION = "11.0.234"
2828

2929
// BuildDate is the build date
3030
BuildDate = ""

0 commit comments

Comments
 (0)