kssenii
ca283a4bb8
Fix optimization with lazy seek
2021-12-17 00:18:28 +03:00
alesapin
2753fe01a3
Merge branch 'master' into fix_special_build_check
2021-12-15 10:35:28 +03:00
alesapin
9974f10631
Fix clang tidy
2021-12-14 15:34:20 +03:00
Azat Khuzhin
a7dc6f309f
Remove SparseHashMap.h
...
It was added only for arcadia build, and used only in one place, no need
to have a separate typedef for it.
2021-12-14 10:07:14 +03:00
Azat Khuzhin
e16891713d
Fix sparse_hashed dict performance with sequential keys (wrong hash function)
...
In #27152 the hash function for sparse_hash_map had been changed to
std::hash<> switch it back to DefaultHash<> (ClickHouse builtin), since
std::hash<> for numeric keys returns itself and this does not works
great with sparse_hash_map.
I've tried the example from #32480 and using some hash fixes the
performance of sparse_hashed layout.
Fixes : #32480
v2: Add comments for SparseHashMap
2021-12-14 10:07:14 +03:00
Kseniia Sumarokova
78ed383f15
Merge pull request #31505 from ContentSquare/azure_blob_storage_dependency
...
Azure Blob Storage Disks
2021-12-13 18:28:48 +03:00
Jakub Kuklis
60dd22dd4e
Checking for success of file removal operation
2021-12-10 22:04:37 +01:00
Jakub Kuklis
43f420cba8
Adding a flag to use Azure Blob Storage
2021-12-10 22:04:36 +01:00
kssenii
f5a77fca39
Done
2021-12-09 14:44:25 +00:00
Nikita Mikhaylov
dbf5091016
Parallel reading from replicas ( #29279 )
2021-12-09 13:39:28 +03:00
Mikhail f. Shiryaev
03927f5fc6
Revert "graphite: split tagged/plain rollup rules (for merges perfomance)"
...
This reverts commit 303552f515
.
2021-12-08 15:49:21 +01:00
Mikhail f. Shiryaev
5fc20b3e6a
Merge pull request #25122 from msaf1980/rollup_rules_type
...
GraphiteMergeTree Rollup rules type
2021-12-07 10:18:08 +01:00
msaf1980
303552f515
graphite: split tagged/plain rollup rules (for merges perfomance)
2021-12-06 16:49:08 +01:00
Azat Khuzhin
abab7108e4
Fix QueryProfiler building under osx
...
Fixes : #32165
2021-12-04 09:19:34 +03:00
Azat Khuzhin
22a74dc68d
Make jemalloc under osx even more reliable
...
- explicitly call zone_register() again
- explicitly call malloc(free()) to initialize jemalloc()
2021-12-04 09:19:34 +03:00
Azat Khuzhin
0b2de32228
Fix QueryProfiler (query_profiler_{cpu,real}_time_period_ns) reset
...
Even after timer_delete() the signal can be fired.
Reproducer:
$ clickhouse-server & # with configured trace_log
$ clickhouse-benchmark -c2 --query 'select * from numbers(1e6)' --query_profiler_cpu_time_period_ns=1 &
...
2021.12.02 14:28:01.320288 [ 24885 ] {} <Debug> TCPHandler: Processed in 177.055205644 sec.
User defined signal 2
CI failures:
- https://s3.amazonaws.com/clickhouse-test-reports/32067/8dbc7a8dae17090a18778f29629d8746a1bb9b72/stateful_tests__debug__actions_.html
- https://s3.amazonaws.com/clickhouse-test-reports/32064/c07450a7dce363b7a4c5ca3ab0e833c25e3d46c0/stateful_tests__debug__actions_.html
Fix this by do not reset the signal back, and introduce a flag to ignore
signals after disabling the timer.
Fixes : #31740
2021-12-03 01:33:08 +03:00
Dmitry Novik
2ab4fc734d
Merge pull request #31740 from azat/fix-disabling-query-profiler
...
Fix disabling query profiler
2021-12-01 18:15:50 +03:00
alexey-milovidov
96ec92c7cd
Merge pull request #31155 from ClickHouse/incremental-profile-events
...
Send incremental profile events to client
2021-12-01 04:04:41 +03:00
Kseniia Sumarokova
3c348a2998
Merge pull request #8331 from Vxider/window-view
...
Support for Stream Processing
2021-11-30 18:20:12 +03:00
alexey-milovidov
e943be340a
Merge pull request #31566 from arenadata/ADQM-388
...
get Build ID via Section headers first
2021-11-30 05:52:11 +03:00
Kseniia Sumarokova
c7a8ad69c4
Merge pull request #31825 from azat/query_views_log-test
...
Cover query_views_log
2021-11-29 16:10:56 +03:00
Azat Khuzhin
ee0258e128
Add sanity check into ThreadStatus::disableProfiling()
2021-11-26 01:13:55 +03:00
Azat Khuzhin
2840405c8a
Fix typo in ThreadStatus::query_profiler_enabled
2021-11-26 01:13:55 +03:00
kssenii
223048d395
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-26 01:06:06 +03:00
Alexey Milovidov
85cec911be
Fix strange code in TypeList
2021-11-25 23:55:02 +03:00
Kruglov Pavel
f28130193a
Merge branch 'master' into fix-whole-text-serialization
2021-11-25 14:00:20 +03:00
Kseniia Sumarokova
93cf66df12
Merge pull request #30936 from kssenii/seekable-read-buffers
...
Reduce memory usage for some formats when reading with s3/url/hdfs
2021-11-25 11:19:24 +03:00
Alexey Milovidov
2373456866
Fix build
2021-11-25 04:18:54 +03:00
Azat Khuzhin
df67af0c88
Fix disabling query profiler
...
Before there was two incorrect checks:
- timer_id != nullptr, but first timer is 0x0 and the comparison does
not work
- previous_handler should also be reseted regardless it was nullptr or
not, plus it also incorrectly uses 'sigaction * previous_handler'
before.
Which leads to permanent query profiler enabled for particular thread,
this is especially visible if you have query profiler disabled and you
are running some query with profiler enabled, i.e.:
select 1 settings query_profiler_real_time_period_ns=1
After, QueryPipelineEx will eat lots of CPU due because of profiler.
2021-11-24 23:28:20 +03:00
Alexey Milovidov
21f112b30e
Merge branch 'better-crosscompiling-freebsd' into hermetic-builds
2021-11-24 22:43:30 +03:00
Alexey Milovidov
f1b8e2a2c8
Fix build
2021-11-24 22:43:12 +03:00
Alexey Milovidov
8e4c7fccc3
Fix build
2021-11-24 20:19:52 +03:00
Alexey Milovidov
438619389f
Fix build
2021-11-24 16:53:51 +03:00
mergify[bot]
2ab091a85b
Merge branch 'master' into fix-whole-text-serialization
2021-11-24 12:44:53 +00:00
Alexey Milovidov
ecf7822153
Fix build
2021-11-24 15:28:54 +03:00
alesapin
646cf38213
Merge pull request #28981 from JackyWoo/add_4_letter_words_commands
...
Add four letter commands to keeper
2021-11-24 13:32:36 +03:00
Alexey Milovidov
e59e833cc6
Fix build
2021-11-24 03:11:22 +03:00
Ilya Golshtein
ae15126d20
just more verbose comment
2021-11-23 12:56:14 +00:00
Ilya Golshtein
e27ce34cf2
get Build ID via Section headers first
2021-11-23 12:56:14 +00:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
...
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
tavplubix
7a43a87f5b
Use shard and replica name from Replicated
database arguments ( #31488 )
...
* fix another issue
* use shard and replica name from Replicated database
* fix
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-23 12:41:54 +03:00
Vitaly Baranov
8eae84b8cf
Merge pull request #31607 from vitlibar/stop-reloading-all-configs-on-shutdown-early
...
Stop all periodic reloading of all the configuration files on shutdown earlier
2021-11-22 22:45:14 +03:00
alesapin
35de9e42d9
Merge branch 'master' into add_4_letter_words_commands
2021-11-22 18:02:02 +03:00
avogar
9bee988e16
Fix tests
2021-11-22 14:26:48 +03:00
Vitaly Baranov
2f8c829395
Stop all periodic reloading of all the configuration files on shutdown earlier.
2021-11-22 12:26:05 +03:00
Alexey Milovidov
c5fcef03c3
Remove trash
2021-11-21 18:12:05 +03:00
Alexey Milovidov
6246cec409
Fix build on AArch64
2021-11-21 14:30:04 +03:00
Alexander Tokmakov
856502fa81
log long operations in Keeper
2021-11-20 20:39:31 +03:00
kssenii
ff969b4605
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-20 15:03:13 +03:00
kssenii
29978f9707
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-20 12:13:39 +03:00