Skip to content

Commit

Permalink
Fix passing compaction-batch-limit to etcd v3.4 and v3.5
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Siarkowicz <[email protected]>
  • Loading branch information
serathius committed Jan 17, 2025
1 parent 9da01a8 commit 4db379d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/framework/e2e/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,12 @@ func (cfg *EtcdProcessClusterConfig) EtcdServerProcessConfig(tb testing.TB, i in
if flag == "experimental-snapshot-catchup-entries" && !CouldSetSnapshotCatchupEntries(execPath) {
continue
}
if flag == "experimental-compaction-batch-limit" {
continue
}
if flag == "compaction-batch-limit" {
flag = "experimental-compaction-batch-limit"
}
args = append(args, fmt.Sprintf("--%s=%s", flag, value))
}
envVars := map[string]string{}
Expand Down

0 comments on commit 4db379d

Please sign in to comment.