Merge pull request #65149 from ClickHouse/revert-65105-nickitat-patch-20

Revert "Small fix for 02340_parts_refcnt_mergetree"
This commit is contained in:
Raúl Marín 2024-06-12 09:28:22 +00:00 committed by GitHub
commit bd45a366f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ function check_refcnt_for_table()
$CLICKHOUSE_CLIENT -q "select table, name, refcount>=6 from system.parts where database = '$CLICKHOUSE_DATABASE' and table = '$table' and refcount >= 3"
# Kill the query gracefully.
kill -INT $PID ||:
kill -INT $PID
wait $PID
grep -F Exception "$log_file" | grep -v -F QUERY_WAS_CANCELLED
rm -f "${log_file:?}"