Commit Graph

117594 Commits

Author SHA1 Message Date
Alexey Milovidov
7766cc45a7
Merge pull request #51127 from ClickHouse/slightly-better-diagnostics
Slightly better diagnostics
2023-06-18 01:47:03 +03:00
Sema Checherinda
642734e512 fix shell commands source 2023-06-17 23:48:09 +02:00
Alexander Tokmakov
b4e455430c
Merge branch 'master' into rmt_better_background_tasks_scheduling 2023-06-17 22:19:21 +03:00
Alexey Milovidov
57368a5379
Merge pull request #51121 from ClickHouse/auto/v23.5.3.24-stable
Update version_date.tsv and changelogs after v23.5.3.24-stable
2023-06-17 19:52:31 +03:00
Alexey Milovidov
630d4dc221
Merge pull request #51122 from ClickHouse/auto/v23.4.4.16-stable
Update version_date.tsv and changelogs after v23.4.4.16-stable
2023-06-17 19:52:20 +03:00
Alexey Milovidov
e8ca174d68
Merge pull request #51123 from ClickHouse/auto/v23.3.4.17-lts
Update version_date.tsv and changelogs after v23.3.4.17-lts
2023-06-17 19:52:09 +03:00
Alexey Milovidov
73f5d34698
Merge pull request #51124 from ClickHouse/auto/v22.8.19.10-lts
Update version_date.tsv and changelogs after v22.8.19.10-lts
2023-06-17 19:51:48 +03:00
Alexey Milovidov
c7a18c640e Slightly better diagnostics 2023-06-17 17:20:44 +02:00
Alexey Milovidov
61e423c5df Fix typo 2023-06-17 17:14:49 +02:00
Alexey Milovidov
98bc124317 Fix typo 2023-06-17 17:13:19 +02:00
robot-clickhouse
fbcec61aec Update version_date.tsv and changelogs after v22.8.19.10-lts 2023-06-17 14:01:58 +00:00
robot-clickhouse
081ae167e1 Update version_date.tsv and changelogs after v23.3.4.17-lts 2023-06-17 13:59:51 +00:00
robot-clickhouse
4aa507386d Update version_date.tsv and changelogs after v23.4.4.16-stable 2023-06-17 13:58:33 +00:00
robot-clickhouse
3e880fe1bd Update version_date.tsv and changelogs after v23.5.3.24-stable 2023-06-17 13:58:31 +00:00
Alexey Milovidov
e913a58284
Merge pull request #51049 from ClickHouse/ddl_replication_improvements
An optimiation for ALTERs and Replicated db with one shard
2023-06-17 16:57:59 +03:00
Alexey Milovidov
b11e148fa8
Merge pull request #51120 from azat/tests/throttle
Fix 02703_max_local_write_bandwidth flakiness
2023-06-17 16:54:11 +03:00
Alexey Milovidov
9fc5b9c2c5
Merge branch 'master' into relax-too-many-parts 2023-06-17 16:14:34 +03:00
Alexey Milovidov
c2e4a7714f
Merge pull request #48821 from alekseygolub/localfilefunction
Added ability to implicitly use file/hdfs/s3 table functions in clickhouse-local
2023-06-17 15:55:13 +03:00
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
Mikhail f. Shiryaev
1bdf35e6cb
Merge pull request #51077 from ClickHouse/woboq-report-improvement
Improve woboq browser report
2023-06-17 11:01:46 +02:00
Michael Kolupaev
41563e43a8 Put test files into data_minio instead of generating them in the test 2023-06-16 17:50:51 -07:00
Michael Kolupaev
03baa19e88 Fix ParallelReadBuffer seek 2023-06-16 17:50:51 -07:00
Michael Kolupaev
c5536e4906 Fix ColumnConst::forEachSubcolumn 2023-06-16 17:48:36 -07:00
kssenii
74f2dea57b Fix typo 2023-06-17 02:11:48 +02:00
kssenii
b902f5d045 Small style corrections 2023-06-17 01:54:38 +02:00
kssenii
55135b6711 Merge remote-tracking branch 'upstream/master' into localfilefunction 2023-06-17 00:59:27 +02:00
Rich Raposa
c08d11c97b
Merge pull request #51115 from ClickHouse/redis-fix
Fix Redis table engine slug
2023-06-16 15:53:05 -06:00
Rich Raposa
27090c6ed7
Merge pull request #51011 from den-crane/patch-52
Doc. note about perform_ttl_move_on_insert
2023-06-16 15:47:25 -06:00
Alexey Milovidov
f412ba572d
Update 02722_database_filesystem.sh 2023-06-17 00:46:48 +03:00
Alexey Milovidov
df9abccfaa
Merge branch 'master' into localfilefunction 2023-06-17 00:45:54 +03:00
rfraposa
06ee2ca153 Update redis.md 2023-06-16 15:22:47 -06:00
Alexey Milovidov
a18dc73271 Fix error 2023-06-16 23:12:01 +02:00
Rich Raposa
3d928551c0
Merge branch 'master' into patch-52 2023-06-16 15:09:24 -06:00
Alexey Milovidov
688d5d59af Merge branch 'master' into relax-too-many-parts 2023-06-16 23:08:29 +02:00
Alexey Milovidov
ec952d401d
Merge pull request #51114 from ClickHouse/clang-17-3
Compatibility with clang-17
2023-06-17 00:07:45 +03:00
Alexey Milovidov
d94e47a930 Compatibility with clang-17 2023-06-16 23:07:19 +02:00
Alexey Milovidov
4e45e39e25
Merge pull request #51099 from ClickHouse/fix_use_local_vars_after_exception
Fix for part_names_mutex used after destruction
2023-06-16 23:52:50 +03:00
Alexey Milovidov
f6efca6e55
Merge pull request #51001 from ClickHouse/fix_02561_null_as_default_more_formats
Fix flaky 02561_null_as_default_more_formats
2023-06-16 23:51:08 +03:00
Alexey Milovidov
782889a051
Merge pull request #51042 from ClickHouse/sys_zookeep_parallel_list
Make multiple parallel list requests when reading from system.zookeeper
2023-06-16 23:46:53 +03:00
Victor Krasnov
bfd3154190 Remove time zones from the test 02783_parsedatetimebesteffort_syslog 2023-06-16 22:00:16 +03:00
jinjunzh
5f8ef27513 initialize buffer with memset 2023-06-16 14:37:01 -04:00
Michael Kolupaev
10d597676c Refactor IColumn::forEachSubcolumn to make it slightly harder to implement incorrectly 2023-06-16 11:08:12 -07:00
Michael Kolupaev
c2900177a2 Fix race condition in ColumnLowCardinality caused by subtly broken copy-on-write for the dictionary 2023-06-16 11:06:28 -07:00
Sema Checherinda
e8d4dedbcc fix build and tests 2023-06-16 19:52:52 +02:00
robot-clickhouse-ci-2
677203ce71
Merge pull request #51082 from ClickHouse/Avogar-patch-1
Update Avro format docs
2023-06-16 19:22:40 +02:00
Alexander Gololobov
8289d8fefa Fix for part_names_mutex used after destruction 2023-06-16 18:46:07 +02:00
avogar
56789af0fa Remove loggig 2023-06-16 15:55:05 +00:00
avogar
3209ebe34b Improve progress bar for file/s3/hdfs/url table functions. Step 1 2023-06-16 15:51:18 +00:00
Alexey Milovidov
5752ad2d2f
Merge pull request #51086 from aiven-sal/aiven-sal/ctriv
Generate safe IVs
2023-06-16 18:49:00 +03:00
Salvatore Mesoraca
6b49968bc4
Generate safe IVs
IVs should never be re-used when using CTR.
The previous implementation had a 50% probability to generate
an IV that was already used after 65536 generations.
This happens because std::mt19937 is seeded using a 32bit integer
and returns a 32 bits integer.
Because of the birthday problem, collisions have a 50% chance after
only 2^16 IV's generations.
CH uses one IV per file and, for most use cases, 65k files are
not as many as they seem.
Also, the initial entropy is gathered using std::random_device
which is "best-effort" and it's allowed by the standard to
return a fixed sequence of numbers.
2023-06-16 17:09:08 +02:00