Commit Graph

4838 Commits

Author SHA1 Message Date
Sergei Trifonov
6f7bba159f
Merge pull request #41840 from ClickHouse/io-scheduler
IO scheduling subsystem
2022-12-19 15:15:19 +01:00
Alexey Milovidov
0511532305
Merge pull request #44256 from azat/hashtable-fix
Fix double-free in HashTable::clearAndShrink() with zero elements in it
2022-12-17 03:20:22 +03:00
Sergei Trifonov
bded03e035
Merge branch 'master' into io-scheduler 2022-12-17 00:39:54 +01:00
Alexey Milovidov
d3fd9a6c1e
Merge pull request #44239 from azat/builtin-skim-v2
Builtin skim for fuzzy search in clickhouse client/local history
2022-12-16 21:23:24 +03:00
Sergei Trifonov
f61a98b5dc
Merge branch 'master' into io-scheduler 2022-12-16 15:55:08 +01:00
Azat Khuzhin
81be20edfe Fix double-free in HashTable::clearAndShrink() with zero elements in it
Before this patch HashTable::clearAndShrink() did this:

    destroyElements();
    clearHasZero();

While destroyElements() already destroys the zero element, so it leads
to double free, like here [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/40003/f09e956ddf150c1aceb210348544bc28876a2d11/stateless_tests__asan__[2/4].html

The issue is only for complex types.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-16 15:22:00 +01:00
Nikolai Kochetov
e99849d031
Merge pull request #38953 from ClickHouse/add-allocation-ptr-to-trace-log
Track allocation ptr in system.trace_log. Add aggregate function flamegraph
2022-12-15 18:16:05 +01:00
Alexander Tokmakov
ec36ce7bb3
Merge branch 'master' into threads-in-overcommit-tracker-metric 2022-12-15 19:18:03 +03:00
Alexey Milovidov
d8bb74d68a
Revert "Add information about written rows in progress indicator" 2022-12-15 10:19:15 +03:00
Azat Khuzhin
82aaad61aa Integrate skim into the client/local
Note, that it can the fail the client if the skim itself will fail,
however I haven't seen it panicd, so let's try.

P.S. about adding USE_SKIM into configure header instead of just compile
option for target, it is better, because it allows not to recompile lots
of C++ headers, since we have to add skim library as PUBLIC. But anyway
this will be resolved in a different way, but separatelly.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-14 20:57:41 +01:00
Dmitry Novik
3ab294be82 Also count waiting on global mutext 2022-12-14 18:05:07 +00:00
Dmitry Novik
1e5fdbdef0 Add ThreadsInOvercommitTracker metric 2022-12-14 16:56:19 +00:00
Azat Khuzhin
67fa185611
Revert "Builtin skim" 2022-12-14 17:17:19 +03:00
Alexey Milovidov
c93b7741b3
Merge branch 'master' into builtin-skim 2022-12-14 02:30:21 +03:00
Alexey Milovidov
4549b14027
Revert "Add function 'age'" 2022-12-13 23:28:09 +03:00
Igor Nikonov
ca06fd02c1
Merge pull request #43860 from bigo-sg/podopt
A little improve performance of PODArray
2022-12-13 12:57:22 +01:00
Vladimir C
ef45590413
Merge pull request #43925 from jh0x/improve-number-separator
Fixes https://github.com/ClickHouse/ClickHouse/issues/28967
2022-12-13 12:37:32 +01:00
Robert Schulze
1f9b34f133
Merge pull request #44049 from HarryLeeIBM/hlee-s390x-string-htable
Fix endian issue in StringHashTable for s390x
2022-12-13 09:27:52 +01:00
Alexey Milovidov
df17d1b71b
Merge branch 'master' into builtin-skim 2022-12-13 03:33:42 +03:00
Nikolai Kochetov
e451137040 Add comments. 2022-12-12 18:26:07 +00:00
Azat Khuzhin
9ed6aa0be1 Fix -Wshorten-64-to-32 on FreeBSD
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-12 08:05:28 +01:00
Azat Khuzhin
de58e9c02d Integrate skim into the client/local
Note, that it can the fail the client if the skim itself will fail,
however I haven't seen it panicd, so let's try.

P.S. about adding USE_SKIM into configure header instead of just compile
option for target, it is better, because it allows not to recompile lots
of C++ headers, since we have to add skim library as PUBLIC.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-11 15:52:00 +01:00
Alexey Milovidov
9a48cf0da8
Merge pull request #40422 from pkubaj/patch-1
Add FreeBSD/powerpc64le support
2022-12-11 09:38:04 +03:00
Boris Kuschel
592c73e2c3
Merge branch 'master' into openssl_support 2022-12-09 20:21:22 -05:00
Anton Popov
17c557648e
Merge pull request #44045 from CurtizJ/fix-tracing-of-profile-events
Fix tracing of profile events
2022-12-09 14:12:58 +01:00
HarryLeeIBM
c381eb1b8e Fix endian issue in StringHashTable for s390x 2022-12-08 08:56:56 -08:00
Anton Popov
3d2e46dfed fix tracing of profile events 2022-12-08 15:13:53 +00:00
Boris Kuschel
cc3314acbe
Merge branch 'master' into openssl_support 2022-12-08 07:40:43 -05:00
Nikita Taranov
b81ad6aaf7
Add google benchmark to contrib (#43779)
* add google benchmark to contrib

* rework integer_hash_tables_and_hashes

* update readme

* keep benchmarks near the benchmarked code

* fix fasttests build

* rm old target

* fix
2022-12-08 13:38:08 +01:00
Alexander Gololobov
b2042fee32
Merge pull request #44001 from ClickHouse/Avogar-patch-1
Remove test logging of signal "EINTR"
2022-12-08 12:18:04 +01:00
Robert Schulze
f998d0c16b
Merge pull request #43228 from HarryLeeIBM/hlee-s390x-wide-int-order
Fix byte order issue of wide integers for s390x
2022-12-08 09:50:54 +01:00
Boris Kuschel
f03f95044e OpenSSL code changes 2022-12-07 13:22:46 -05:00
Joanna Hulboj
c5296db521 Addressed PR comments 2022-12-07 14:23:01 +00:00
Joanna Hulboj
5bb9f851e0 Support numeric literals with underscores 2022-12-07 12:50:51 +00:00
Kruglov Pavel
d042664f54
Remove logging from TimerDescriptor 2022-12-07 13:33:29 +01:00
Kruglov Pavel
1197d3fbe3
Remove test logging of signal "EINTR" 2022-12-07 13:32:43 +01:00
zhanglistar
974df885e0 Rollback reserveForNextSize change 2022-12-07 10:29:00 +08:00
zhanglistar
25e607cce8
Merge branch 'master' into podopt 2022-12-07 10:24:56 +08:00
Nikolai Kochetov
7d6d0676ce Fix build. 2022-12-06 16:59:40 +00:00
Nikolai Kochetov
9a4b3493fd Merge branch 'master' into add-allocation-ptr-to-trace-log 2022-12-06 17:09:54 +01:00
Robert Schulze
f2cad33f1b
Merge pull request #43123 from arenadata/ADQM-623
Add function 'age'
2022-12-05 15:53:28 +01:00
Robert Schulze
3c1a721da4
Merge branch 'master' into hlee-s390x-wide-int-order 2022-12-04 18:47:00 +01:00
Roman Vasin
bcb65eb420
Merge branch 'master' into ADQM-623 2022-12-04 20:21:27 +03:00
kssenii
dca3444283 Merge remote-tracking branch 'upstream/master' into named-collections-sql-commands 2022-12-04 15:56:02 +01:00
Kseniia Sumarokova
ec7649cd90
Merge pull request #43639 from CurtizJ/trace-profile-events
Allow to send profile events to `system.trace_log`
2022-12-04 15:50:07 +01:00
Vladimir C
7d6950d397
Revert "Temporary files evict fs cache" 2022-12-02 14:50:56 +01:00
Roman Vasin
59523864b9
Merge branch 'master' into ADQM-623 2022-12-02 15:00:09 +03:00
Vladimir C
117d01f2ac
Merge pull request #43457 from ClickHouse/vdimir/tmp-data-in-fs-cache 2022-12-01 13:41:40 +01:00
Alexander Gololobov
6388bc5000
Followup fixes for XML helpers (#43845) 2022-12-01 13:36:40 +01:00
Roman Vasin
620df1ec6f
Merge branch 'master' into ADQM-623 2022-12-01 15:30:36 +03:00