Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

iceberg maintenance: fix the test build master merged broken (#10780)

Chris Lua80259d3621f
diff --git a/weed/worker/tasks/iceberg/table_config_test.go b/weed/worker/tasks/iceberg/table_config_test.go
index 451ea73299..af46d48251 100644
--- a/weed/worker/tasks/iceberg/table_config_test.go
+++ b/weed/worker/tasks/iceberg/table_config_test.go
@@ -388,7 +388,7 @@ func TestResolveCompactionRewritePlanAuto(t *testing.T) {
cfg := baseTestConfig()
cfg.RewriteStrategy = rewriteStrategyAuto
- unsorted := buildTestMetadata(t, nil)
+ unsorted := buildTestMetadata(t, nil, nil, 0)
plan, err := resolveCompactionRewritePlan(cfg, unsorted)
if err != nil {
t.Fatalf("auto must not fail on an unsorted table: %v", err)