mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Supress messages from inserts
This commit is contained in:
parent
0931658c2f
commit
d127c7d45c
@ -16,7 +16,9 @@ done
|
||||
|
||||
function thread {
|
||||
for x in {0..99}; do
|
||||
$CLICKHOUSE_CLIENT --query "INSERT INTO r$1 SELECT $x % $NUM_REPLICAS = $1 ? $x - 1 : $x" # Replace some records as duplicates so they will be written by other replicas
|
||||
# sometimes we can try to commit obsolete part if fetches will be quite fast,
|
||||
# so supress warning messages like "Tried to commit obsolete part ... covered by ..."
|
||||
$CLICKHOUSE_CLIENT --query "INSERT INTO r$1 SELECT $x % $NUM_REPLICAS = $1 ? $x - 1 : $x" 2>/dev/null # Replace some records as duplicates so they will be written by other replicas
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user