Skip to content

Commit bc494ed

Browse files
committed
update alter_sync settings
1 parent 1263aa8 commit bc494ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flow/connectors/clickhouse/clickhouse.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ func Connect(ctx context.Context, env map[string]string, config *protos.Clickhou
263263
"select_sequential_consistency": uint64(1),
264264
// broken downstream views should not interrupt ingestion
265265
"ignore_materialized_views_with_dropped_target_table": true,
266-
// avoid "there is no metadata of table ..."
267-
"alter_sync": uint64(1),
266+
// synchronous wait for ALTER commands; skip replicas that are down
267+
"alter_sync": uint64(3),
268268
// to handle JSON like "{"key": []}"
269269
"input_format_json_infer_incomplete_types_as_strings": uint64(1),
270270
}

0 commit comments

Comments
 (0)