ClickHouse/tests/queries/0_stateless/02703_max_local_write_bandwidth.reference
Azat Khuzhin b608490885 Fix 02703_max_local_write_bandwidth flakiness
LocalWriteThrottlerSleepMicroseconds is too unpredictable in debug
builds, event with 50% of allowed error it still fails [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/51006/6cc4f76707b196b0f02938671f62c9bb3d267faa/stateless_tests__debug__%5B2_5%5D.html

Looking into query_log artifacts:

    $ clickhouse-local --file query_log.tsv.zst --input-format TSVWithNamesAndTypes -q "select query_duration_ms, ProfileEvents['LocalWriteThrottlerSleepMicroseconds'] from table where log_comment = '02703_max_local_write_bandwidth.sh' and type != 'QueryStart' and query_id = 'eebxgbfqyt'" --output-format Vertical
    Row 1:
    ──────
    query_duration_ms:                                                   15'608
    arrayElement(ProfileEvents, 'LocalWriteThrottlerSleepMicroseconds'): 1'385'203

So query duration is 15.6sec, while throttle sleeps only 1.39sec, which
is only 9%, apparently it waits somewhere else.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-17 13:56:29 +02:00

2 lines
6 B
Plaintext