alexey-milovidov
e8f5bbd05f
Update TraceCollector.cpp
2020-07-31 02:29:54 +03:00
Alexey Milovidov
c202691319
Merge branch 'master' into stack-frams-size-limit
2020-07-30 23:53:52 +03:00
Alexander Kuzmenkov
5214621830
[draft] only fix int16->int32 insert in PODArray
2020-07-30 18:20:47 +03:00
Alexander Kuzmenkov
14af140447
Merge remote-tracking branch 'origin/master' into HEAD
2020-07-30 18:17:55 +03:00
Nikita Mikhaylov
a948d20832
fix
2020-07-30 14:59:21 +03:00
Nikita Mikhaylov
4d49d2c671
another removes
2020-07-30 13:31:14 +03:00
alesapin
724b7be555
Merge branch 'volumes-related-refactorings' of https://github.com/excitoon-favorites/ClickHouse into volumes-refactorings
2020-07-30 12:20:48 +03:00
Alexey Milovidov
bc0d733b8e
Merge remote-tracking branch 'origin/master' into fixed-hash-map-implicit-zero
2020-07-30 05:43:40 +03:00
alesapin
34e7b25d91
Merge pull request #12992 from ClickHouse/rerun_failed_in_fast_test
...
Rerun tests in fast test
2020-07-29 21:11:54 +03:00
Anton Ivashkin
ce25924871
Merge master
2020-07-29 19:32:30 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Anton Ivashkin
f4efe3c2fd
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events
2020-07-29 13:32:18 +03:00
Alexey Milovidov
490a8ba3d4
Slightly improve inner loop of aggregation by UInt8/UInt16 keys
2020-07-29 04:50:12 +03:00
Alexander Kuzmenkov
f6f2812f73
Block structure mismatch is a program error
2020-07-28 21:35:18 +03:00
Anton Ivashkin
89a59d43f2
Merge
2020-07-27 17:59:12 +03:00
Alexey Milovidov
916daf7ff0
Fix build of test under Mac OS X #12767
2020-07-27 14:34:52 +03:00
Vxider
c78dd2cd79
Merged with master
2020-07-27 18:11:26 +08:00
Gleb Novikov
3585b24f16
MultiDiskReservation, VolumeRAID1 and createVolumeFromConfig
...
1. Implemented MultiDiskReservation to maintain multiple reservations under one
2. Implemented VolumeRAID1 as child of VolumeJBOD (since RAID1 is quite similar)
3. Implemented createVolumeFromConfig
2020-07-26 21:27:36 +03:00
Alexander Tokmakov
237accd154
Merge branch 'master' into database_atomic_improvements
2020-07-23 06:33:20 +03:00
Nikolai Kochetov
76d784be9c
Merge pull request #12613 from ClickHouse/remove-sort-description-from-streams
...
Remove sort description from streams
2020-07-22 17:35:05 +03:00
Alexey Milovidov
c55834c40f
Merge branch 'master' into stack-frams-size-limit
2020-07-22 08:49:00 +03:00
Alexander Tokmakov
9bcaaea3e0
Merge branch 'master' into database_atomic_improvements
2020-07-22 05:24:48 +03:00
Alexey Milovidov
7b81640e9b
Add support for function if with Array(UUID) arguments #11066
2020-07-22 00:15:19 +03:00
Alexander Kuzmenkov
e45e2d174f
Merge remote-tracking branch 'origin/master' into HEAD
2020-07-21 18:42:03 +03:00
Anton Ivashkin
742793be54
Add SelectedRows and SelectedBytes events
2020-07-21 17:50:02 +03:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Nikolai Kochetov
a93a7d3a75
Remove unused error code.
2020-07-21 13:10:16 +03:00
alexey-milovidov
16e8c61438
Merge pull request #12566 from ClickHouse/race_condition_cache_dictionaries
...
Fix race condition in clickhouse cache dictionary
2020-07-21 11:27:08 +03:00
alesapin
6b7d1033e6
Comments for ugly fix
2020-07-20 16:06:44 +03:00
alexey-milovidov
7aee5abb83
Merge pull request #12569 from ClickHouse/aku/numa-metric
...
Add perf metric for NUMA-local memory access
2020-07-19 03:21:24 +03:00
alexey-milovidov
504783fe2b
Update ProfileEvents.cpp
2020-07-19 03:20:45 +03:00
Alexander Kuzmenkov
5a662ca48c
Add perf metric for NUMA-local memory access
2020-07-17 20:10:59 +03:00
Alexander Tokmakov
a612080df1
Merge branch 'master' into database_atomic_improvements
2020-07-17 00:43:59 +03:00
alexey-milovidov
fde8c87a1f
Merge pull request #12426 from ClickHouse/log-engine-rollback-on-insert-error
...
Rollback insertion error in Log engines
2020-07-16 22:50:48 +03:00
Vitaly Baranov
000b197ad1
Merge pull request #11234 from traceon/ldap-per-user-authentication
...
Add LDAP authentication support
2020-07-16 13:17:21 +03:00
Alexey Milovidov
6df282e813
Fixup
2020-07-16 11:33:51 +03:00
Alexey Milovidov
3408b7e259
Merge branch 'master' into log-engine-rollback-on-insert-error
2020-07-16 05:34:02 +03:00
Alexey Milovidov
e1173bc3f7
Fixup
2020-07-16 05:00:21 +03:00
Alexey Milovidov
1bf679703d
Merge branch 'master' into testkeeper-improve-performance
2020-07-16 04:58:35 +03:00
Alexey Milovidov
43990f734c
Merge branch 'master' into avoid-overallocation3
2020-07-16 03:16:44 +03:00
Denis Glazachev
59cb758cf7
Merge branch 'master' into ldap-per-user-authentication
2020-07-16 02:29:24 +04:00
Alexander Kuzmenkov
f785837b1d
Merge pull request #12518 from ClickHouse/aku/android
...
Some provisions for Android build
2020-07-15 22:05:41 +03:00
Alexey Milovidov
d380ff83e2
Merge branch 'master' into testkeeper-improve-performance
2020-07-15 19:38:06 +03:00
Vxider
61b15e6f6d
merged with master
2020-07-15 22:38:50 +08:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
Alexey Milovidov
b665413869
Improve performance of TestKeeper
2020-07-15 01:53:34 +03:00
Alexey Milovidov
0c237de00d
Fix build
2020-07-15 00:32:14 +03:00
Anton Ivashkin
52fea6a5a3
Merge master
2020-07-14 15:56:38 +03:00
Alexander Tokmakov
fdb02edc7c
Merge branch 'master' into database_atomic_improvements
2020-07-13 17:28:48 +03:00
Alexander Tokmakov
04c3e7cab6
add implicit uuid macro
2020-07-13 16:18:38 +03:00
Anton Ivashkin
26fca949bd
add profiling events from S3 request to system.events and system.query_log
2020-07-13 11:27:11 +03:00
Alexey Milovidov
befbae585b
Revert the only change that should affect performance in gcc
2020-07-12 21:31:17 +03:00
Alexey Milovidov
8092f9f861
Merge branch 'master' into avoid-overallocation2
2020-07-12 06:06:50 +03:00
Alexey Milovidov
204a4af394
Rollback insertion error in Log engines #12402
2020-07-12 05:32:18 +03:00
Denis Glazachev
edb6ef8c09
Merge commit 'ceac649c01b0158090cd271776f3219f5e7ff57c' into ldap-per-user-authentication
...
* commit 'ceac649c01b0158090cd271776f3219f5e7ff57c': (75 commits)
[docs] split misc statements (#12403 )
Update 00405_pretty_formats.reference
Update PrettyCompactBlockOutputFormat.cpp
Update PrettyBlockOutputFormat.cpp
Update DataTypeNullable.cpp
Update 01383_remote_ambiguous_column_shard.sql
add output_format_pretty_grid_charset setting in docs
add setting output_format_pretty_grid_charset
Added a test for #11135
Update index.md
RIGHT and FULL JOIN for MergeJoin (#12118 )
Update MergeTreeIndexFullText.cpp
restart the tests
[docs] add syntax highlight (#12398 )
query fuzzer
Fix std::bad_typeid when JSON functions called with argument of wrong type.
Allow typeid_cast() to cast nullptr to nullptr.
fix another context-related segfault
[security docs] actually, only admins can create advisories
query fuzzer
...
2020-07-11 21:32:36 +04:00
Alexander Kuzmenkov
10b0287fa4
Merge pull request #12341 from ClickHouse/aku/perfect-visitor
...
More perfect forwarding in field visitors
2020-07-11 13:36:37 +03:00
alexey-milovidov
c615ea658b
Merge pull request #12400 from vitlibar/fix-bad_typeid
...
Fix std::bad_typeid when JSON functions called with argument of wrong type
2020-07-11 05:40:44 +03:00
Vitaly Baranov
3a0d358694
Allow typeid_cast() to cast nullptr to nullptr.
2020-07-10 17:02:48 +03:00
alexey-milovidov
6479e2b406
Update FieldVisitors.h
2020-07-10 08:37:43 +03:00
Alexander Kuzmenkov
0001a08081
More perfect forwarding in field visitors
2020-07-09 19:16:33 +03:00
Denis Glazachev
5a4762bb8a
Merge branch 'master' into ldap-per-user-authentication
2020-07-09 14:50:02 +04:00
Alexey Milovidov
31cbdd1a56
system.crash_log: development
2020-07-09 07:15:45 +03:00
alexey-milovidov
072a8e0e40
Merge pull request #12182 from azat/fix-user-memory-tracking-drift
...
Cap max_memory_usage* limits to the process resident memory
2020-07-09 04:25:55 +03:00
Alexey Milovidov
edb68b7f6b
Add test
2020-07-09 04:22:52 +03:00
Alexey Milovidov
70aae6eb44
Fix error
2020-07-09 04:21:25 +03:00
Alexey Milovidov
5ac167fcf0
Merge branch 'master' into avoid-overallocation2
2020-07-09 04:10:30 +03:00
alexey-milovidov
1062270580
Merge pull request #12296 from ClickHouse/fix_rare_hanging_in_dnsresolver
...
Fix rare hanging in DNSResolver
2020-07-09 00:35:07 +03:00
tavplubix
33c3545125
Merge pull request #12197 from nikitamikhaylov/csv-file-bugfix
...
Headers for CSVWithNames in StorageFile
2020-07-08 20:42:49 +03:00
Alexander Tokmakov
c48ed67760
get hostname without mutex
2020-07-08 17:39:48 +03:00
Alexey Milovidov
c4e925434a
Fix build
2020-07-08 06:29:54 +03:00
Alexey Milovidov
a6dbe421ac
Fix build
2020-07-08 05:31:29 +03:00
Alexey Milovidov
491bd44955
Improve performance of clang build
2020-07-08 04:41:09 +03:00
Alexey Milovidov
3471e526ff
Improvements in PODArray
2020-07-08 04:26:44 +03:00
Alexey Milovidov
671c544b7d
Improvements in PODArray
2020-07-08 04:24:38 +03:00
Alexey Milovidov
c34f3254f2
Improvements in PODArray
2020-07-08 04:21:39 +03:00
Alexey Milovidov
934d18b649
Added a test for PaddedPODArray just in case
2020-07-08 02:41:10 +03:00
Denis Glazachev
9effacfbc1
Merge branch 'master' into ldap-per-user-authentication
...
* master: (1102 commits)
Update README.md
Update README.md
Update README.md
Update index.md
[docs] add intrdocution for statements page (#12189 )
Revert "Run perf tests with memory sampling (for allocations >1M)"
Sanitize LINK_LIBRARIES property for the directories (#12160 )
[docs] refactor Domains overview (#12186 )
DOCS-647: toStartOfSecond (#12190 )
[docs] add intrdocution for commercial page (#12187 )
DOCSUP-1348 Russian translation for new functions (#133 ) (#12194 )
changelog fixes
Update index.md (#12191 )
Update zh kafka.md title (#12192 )
Added test for #3767
style fix for #12152
Tests for fixed issues #10846 and #7347
changelog fixes
[docs] introduction for special table engines (#12170 )
[docs] introduction for third-party interfaces (#12175 )
...
# Conflicts:
# src/Access/ya.make
# src/Common/ErrorCodes.cpp
2020-07-08 00:42:09 +04:00
Nikita Mikhaylov
270551e599
done
2020-07-07 14:45:20 +03:00
alesapin
be85f9f98a
Merge pull request #12165 from vitlibar/fix-split-dictionary-source-table-name
...
Fix splitting table name of dictionary source
2020-07-07 11:49:36 +03:00
Azat Khuzhin
68ca3b7aec
Do not try to adjust memory tracker amount if it is not larger then in total
2020-07-07 11:26:40 +03:00
Azat Khuzhin
d68ecdc84c
Cap max_memory_usage* limits to the process resident memory
...
There are still some issues with memory tracking, but now with per-user
tracking:
executeQuery: Code: 241, e.displayText() = DB::Exception: Memory limit (for user) exceeded: would use 437.72 GiB (attempt to allocate chunk of 4200926 bytes), maximum: 437.72 GiB (version 20.6.1.1) (from 10.7.140.7:31318)
Although the server is mostly idle:
SELECT formatReadableSize(memory_usage)
FROM system.processes
┌─formatReadableSize(memory_usage)─┐
│ 289.28 MiB │
│ 155.75 MiB │
│ 0.00 B │
└──────────────────────────────────┘
Refs: https://github.com/ClickHouse/ClickHouse/pull/10496/files#r450206865
Cc: @alexey-milovidov
2020-07-07 01:51:21 +03:00
Vitaly Baranov
4733504b51
Don't split dictionary source's table name into schema and table name itself
...
if ODBC driver doesn't support schema.
2020-07-06 23:41:39 +03:00
Nikita Mikhaylov
5c6d6bdf54
Merge pull request #11995 from azat/load_balancing-priority
...
Load balancing manual priority
2020-07-06 13:32:20 +04:00
alexey-milovidov
f1151ed474
Merge pull request #12133 from ClickHouse/normalize-pid-file
...
Normalize "pid" file handling #3501
2020-07-04 21:36:27 +03:00
alexey-milovidov
d9ea8cfc42
Update StatusFile.cpp
2020-07-04 16:57:04 +03:00
Alexey Milovidov
176a7f2f72
Normalize "pid" file handling #3501
2020-07-04 16:54:24 +03:00
Val
147fa9fed9
fix type error in zookeeper
2020-07-04 16:48:44 +03:00
alesapin
64583ceb22
Merge branch 'master' into add-storage-rabbitmq-read-only
2020-07-02 16:08:29 +03:00
Alexander Kuzmenkov
aa8461e996
Update ThreadProfileEvents.cpp
2020-06-30 10:47:19 +03:00
Alexander Kuzmenkov
1d838b7b3a
Update ThreadProfileEvents.cpp
2020-06-30 09:56:11 +03:00
Azat Khuzhin
ebff4eae7d
Add replica priority for load_balancing
...
Make default 1, to match with <weight>
2020-06-29 23:03:28 +03:00
Alexander Kuzmenkov
877c10f5fa
Update ThreadProfileEvents.cpp
2020-06-29 17:13:16 +03:00
Alexander Kuzmenkov
9b9030caad
Update ThreadProfileEvents.cpp
2020-06-29 15:57:36 +03:00
Alexander Kuzmenkov
af8d62bbcb
Add TLB misses perf counters.
2020-06-29 15:48:18 +03:00
kssenii
649eb8e348
Move reading from RabbitMQ into background task
2020-06-28 18:20:18 +00:00
alexey-milovidov
7376f18467
Merge pull request #11923 from ucasFL/client-not-argue
...
client exit with unrecognized arguments
2020-06-28 17:38:25 +03:00
alexey-milovidov
86ef3e1d8c
Update ErrorCodes.cpp
2020-06-28 17:37:42 +03:00
Alexey Milovidov
1462a66d1e
Fix typos
2020-06-27 22:05:00 +03:00
Anton Popov
b2aa565a37
allow to turn on fsync on inserts, merges and fetches
2020-06-27 17:52:16 +03:00
Val
cbcd1bea0e
provide better comments and information
2020-06-27 17:00:44 +03:00
Val
1f03839830
add zookeeper tryRemoveChildren method
2020-06-27 16:59:09 +03:00
Val
5e076b464e
add replicated db snapshot, integration test, repl alter queries, etc
...
add an option to create replicated tables within replicated db without specifying zk path and replica id
add replicated sch pool
disable replication of alter queries for replicated tables in replicated dbs
snapshot prototype. amend of replicated db workflow
add prototype of integration tests for replicated db
2020-06-27 16:58:15 +03:00
feng lv
a159f1be54
Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-not-argue
2020-06-26 17:34:24 +08:00
Alexander Kuzmenkov
a8db0b40d0
add page fault perf events
2020-06-25 23:42:31 +03:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
...
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
alexey-milovidov
40755de412
Merge pull request #11908 from ClickHouse/zookeeper-modernize
...
Slightly modernize code around ZooKeeper
2020-06-25 16:25:50 +03:00
feng lv
6f3b78c774
client exit with unrecognized arguments
...
format code
fix
2020-06-25 18:09:35 +08:00
Azat Khuzhin
236cac3d52
Fix jemalloc under OSX (by registering it as default zone explicitly)
...
In case of OSX jemalloc register itself as a default zone allocator.
But when you link statically then zone_register() will not be called,
and even will be optimized out:
$ nm clickhouse.patched | grep -c zone_register
0
Fix this, by manually calling it.
v2: extern C
2020-06-24 21:05:35 +03:00
Alexander Kuzmenkov
2da7b356ab
Merge pull request #11668 from bharatnc/bnc/config-max-num-threads
...
max_thread_pool_size setting for changing max Threads in Global Thread Pool
2020-06-24 16:11:21 +03:00
Alexey Milovidov
5a7e921135
Slightly modernize code around ZooKeeper
2020-06-24 14:02:14 +03:00
Ivan Blinkov
3ed76a388e
send build_id to sentry as well + fix some minor issues
2020-06-24 00:27:04 +03:00
Ivan Blinkov
45d1ca2567
merge master
2020-06-24 00:18:16 +03:00
Ivan Blinkov
87d56d700f
restore old toStringImpl signature
2020-06-24 00:15:54 +03:00
bharatnc
9be7ab0341
fix style check - removed unused LOGICAL_ERROR
2020-06-23 13:06:22 -07:00
Alexey Milovidov
cda2687195
Merge branch 'master' into fix-fpe-datetime64
2020-06-23 22:45:45 +03:00
Alexander Kuzmenkov
f0fbba5522
allow implicit initialization
2020-06-23 20:31:46 +03:00
Alexander Kuzmenkov
1a63972a4b
Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads
2020-06-23 20:25:07 +03:00
alexey-milovidov
1c1e12f06b
Merge pull request #11826 from ClickHouse/send-logs-on-fatal-errors
...
Send logs to client on fatal errors if possible
2020-06-23 09:49:48 +03:00
Alexey Milovidov
75357ab98d
constexpr intExp10
2020-06-22 23:32:29 +03:00
Alexander Kuzmenkov
96d2e9c997
Initialize GlobalThreadPool explicitly
2020-06-22 22:04:12 +03:00
Alexander Kuzmenkov
bd5ab9c686
Merge remote-tracking branch 'origin/master' into bnc/config-max-num-threads
2020-06-22 15:55:39 +03:00
Alexey Milovidov
b50b4b14de
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-22 15:48:46 +03:00
Alexander Kuzmenkov
ffc5b21bad
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-22 15:28:03 +03:00
alexey-milovidov
d6abf45a2d
Merge pull request #11847 from ClickHouse/DimasKovas-arch-chooser
...
Merging #10058
2020-06-22 14:01:10 +03:00
alexey-milovidov
281a6d6e46
Merge pull request #11824 from ClickHouse/print-build-id
...
Print build id in crash messages
2020-06-22 13:59:48 +03:00
Ivan Blinkov
7b1ab482b0
restore immediate stacktrace output
2020-06-22 10:22:13 +03:00
Ivan Blinkov
2c0ff29c48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-22 10:06:36 +03:00
alexey-milovidov
c3a5c32a48
Merge branch 'master' into arch-chooser
2020-06-21 21:30:06 +03:00
alexey-milovidov
59d3e200ce
Merge pull request #11831 from ClickHouse/decimal-cut-extra-digits-after-point
...
Make reading of Decimal more compatible with other DBMS
2020-06-21 21:03:06 +03:00
Alexey Milovidov
fac2c6050c
Fix UBSan
2020-06-21 19:10:38 +03:00
Alexey Milovidov
0b2ffb9c77
Merge branch 'master' into print-build-id
2020-06-21 19:08:07 +03:00
Alexey Milovidov
71317dd59c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 19:05:20 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
...
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
alexey-milovidov
e6ab9b969e
Merge pull request #11830 from zlobober/fix_mmap_threshold
...
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-21 14:07:07 +03:00
Alexey Milovidov
fe71a8eb8c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 13:55:11 +03:00
Alexey Milovidov
227afea032
Merge branch 'master' into decimal-cut-extra-digits-after-point
2020-06-21 13:50:06 +03:00
Alexey Milovidov
7f05d2bac0
Merge branch 'master' into print-build-id
2020-06-21 13:44:32 +03:00
Maxim Akhmedov
2ff7f34968
Make constants in cpp file extern.
2020-06-21 00:45:20 +03:00
Alexey Milovidov
961568e978
Fix false MSan report in SymbolIndex
2020-06-20 22:05:03 +03:00
alexey-milovidov
603e690c18
Update Allocator.cpp
2020-06-20 21:52:36 +03:00
alexey-milovidov
87937e580e
Update Allocator.h
2020-06-20 21:52:13 +03:00
Alexey Milovidov
147cda2581
Merge branch 'master' into print-build-id
2020-06-20 21:05:31 +03:00
Denis Glazachev
6c1b2a4831
Merge branch 'master' into ldap-per-user-authentication
...
* master: (114 commits)
Update alter.md (#11823 )
Update PODArray.h
Added a test for #6549
Update create.md
Update create.md
replacingmergetree translate into "替换合并树“ better (#11814 )
Whitespace
Fix style
Added a test
Fix another 10% of bad code #11529
Update join.md (#11798 )
Update memory.md (#11800 )
Whitespace
Check for tests with "fail" in their names
Fix 10% of bad code #11756
Update PODArray.h
avoid duplicate short system name
adapt recent result as well
[website] tune benchmark pages styling + add extra checks
Added MSan suppression for Hyperscan
...
# Conflicts:
# src/Common/ErrorCodes.cpp
2020-06-20 22:01:12 +04:00
alexey-milovidov
92d37efe18
Merge pull request #11736 from maxim-babenko/patch-1
...
Fix PODArrayBase::push_back_raw_many
2020-06-20 19:16:15 +03:00
Maxim Akhmedov
34fbc62033
Move MMAP_THRESHOLD definition to .cpp file.
2020-06-20 19:01:16 +03:00
Alexey Milovidov
408fc241d6
Make reading of Decimal more compatible with other DBMS
2020-06-20 17:43:01 +03:00
Alexey Milovidov
7ba25bd799
Make it work
2020-06-20 14:17:15 +03:00
Alexey Milovidov
ead4a2cfd9
Print build id in crash messages
2020-06-20 12:07:05 +03:00
Azat Khuzhin
b8ee2ea7d9
Pass max_ignored_errors/fallback_to_stale_replicas to PoolWithFailoverBase::get() too
2020-06-20 11:46:13 +03:00
Azat Khuzhin
de011a6edc
Mark PoolWithFailoverBase::get() protected
2020-06-20 11:39:21 +03:00
Azat Khuzhin
dd054380bf
Drop default values for some arguments of PoolWithFailoverBase::getMany
2020-06-20 11:21:18 +03:00
Azat Khuzhin
caa195c034
Add number of errors to ignore while choosing replicas (distributed_replica_max_ignored_errors)
...
This will allow avoid switching to another replica in case of error
(since error can be temporary).
2020-06-20 11:20:16 +03:00
Azat Khuzhin
687eb24f50
Fix divizion by zero for distributed_replica_error_half_life=0
2020-06-20 11:05:39 +03:00
Azat Khuzhin
2a5a8e70f4
Drop unused PoolWithFailoverBase<>::reportError()
2020-06-20 11:05:38 +03:00
alexey-milovidov
c256682068
Update PODArray.h
2020-06-20 10:45:51 +03:00
alexey-milovidov
2e604726e0
Update PODArray.h
2020-06-20 08:39:52 +03:00
Alexander Kuzmenkov
288f217df3
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-19 23:07:53 +03:00
alexey-milovidov
08b53c1ab5
Update gtest_pod_array.cpp
2020-06-19 22:10:04 +03:00
Vxider
add49518f3
Merged with master
2020-06-19 23:12:25 +08:00
Alexey Milovidov
5211a42c04
Remove leader election, step 3
2020-06-19 17:18:58 +03:00
Maxim Babenko
5895f25166
Styling
2020-06-19 16:30:00 +03:00
Maxim Babenko
8436688437
Add unittests for push_back_raw_many
2020-06-19 16:21:54 +03:00
Denis Glazachev
5db60202b6
Merge branch 'master' into ldap-per-user-authentication
2020-06-19 00:11:08 +04:00
maxim-babenko
c3dbf7d6bf
Fix PODArrayBase::push_back_raw_many
...
1) capacity check must be ready for overflow during memcpy
2) reserve must be called with the new size, not just delta
2020-06-17 19:38:23 +03:00
Vitaly Baranov
7011401cd4
Merge pull request #11670 from vitlibar/rbac-improve-parser-multiple-entities
...
RBAC: improve syntax
2020-06-17 16:26:02 +03:00
alexey-milovidov
e07d02015c
Merge pull request #11661 from ClickHouse/return-not-nullable-from-count-distinct-2
...
Return non-Nullable results from COUNT(DISTINCT), more complete.
2020-06-17 09:25:45 +03:00
alexey-milovidov
598fd75caf
Merge pull request #11639 from ClickHouse/remove-leader-election-2
...
Remove leader election, step 2: allow multiple leaders
2020-06-17 09:25:23 +03:00
alexey-milovidov
6e61f708d7
Merge pull request #11690 from ClickHouse/odbc-bridge-timeouts
...
Pass proper timeouts when communicating with XDBC bridge.
2020-06-17 03:18:29 +03:00
Alexey Milovidov
a655765040
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-17 01:15:57 +03:00
Alexander Kuzmenkov
9cab822718
Merge pull request #11683 from ClickHouse/aku/merge-minmap-11603
...
Merge minMap, maxMap (#11603 )
2020-06-17 00:02:33 +03:00
Alexey Milovidov
0a6054eece
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-16 22:31:33 +03:00
Alexey Milovidov
6c93016c91
Add suggestion from @alesap
2020-06-16 22:16:01 +03:00
Alexey Milovidov
b7ec5f94f2
Merge branch 'master' into odbc-bridge-timeouts
2020-06-16 22:14:43 +03:00
Ivan Blinkov
7e2bb1fd83
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-16 16:02:55 +03:00
Bharat Nallan
334c5abe9b
remove extra vertical space
2020-06-15 22:04:30 -07:00
Bharat Nallan
c43bd228ab
make max global thread pool setting configurable
...
This PR adds a server level config for overriding the default max number
of threads in global thread pool that is currently allowed (10,000).
This might be useful in scenarios where there are a large number of
distributed queries that are executing concurrently and where the
default number of max threads might not be necessarily be sufficient.
2020-06-15 22:04:30 -07:00
Alexey Milovidov
125b007360
Merge branch 'master' into remove-leader-election-2
2020-06-16 05:56:29 +03:00
Alexey Milovidov
85a7676bf4
Fix flaky unit tests with ZooKeeper.
2020-06-16 02:32:30 +03:00
Alexey Milovidov
186d336e31
Use proper timeouts when communicating with xdbc-bridge
2020-06-16 01:35:15 +03:00
Alexey Milovidov
1e73a56a77
Whitespace
2020-06-16 01:23:56 +03:00
Alexey Milovidov
bc58e22c5b
Whitespace
2020-06-16 01:23:13 +03:00
Vitaly Baranov
4bd00b02e2
Improve syntax of CREATE QUOTA. Now resource types and key types could be written with underscores.
...
Also rename columns key_type=>keys and source=>storage in table system.quotas.
2020-06-15 20:10:34 +03:00
Alexander Kuzmenkov
0743e8c15d
Merge remote-tracking branch 'origin/master' into minmap
2020-06-15 19:39:57 +03:00
alexey-milovidov
fd6115cccf
Merge pull request #11648 from ClickHouse/simplify-code-functions-comparison-3
...
Allow comparison with String in index analysis; simplify code.
2020-06-15 05:47:03 +03:00
Alexey Milovidov
b596831342
Merge branch 'master' into remove-leader-election-2
2020-06-15 03:16:41 +03:00
Alexey Milovidov
6467302ad3
Fix gcc build
2020-06-15 01:29:22 +03:00
Alexey Milovidov
07ba7ffea5
Clear password from command line #11624
2020-06-14 22:23:05 +03:00
Alexey Milovidov
8dac30ae95
Split file for better build times
2020-06-14 21:42:10 +03:00
Alexey Milovidov
067cf4cc40
Fix gcc build
2020-06-14 21:31:42 +03:00
Alexey Milovidov
f6c52fe1c2
Allow comparison with String in index analysis; simplify code #11630
2020-06-14 21:31:42 +03:00
Alexey Milovidov
394fb64a9c
Better way of implementation
2020-06-14 20:42:11 +03:00
alexey-milovidov
361cb880a3
Merge pull request #11657 from ClickHouse/dont-use-elf-if-foreign
...
Don't use debug info from ELF file if it doesn't correspond to the running binary.
2020-06-14 10:58:21 +03:00
Alexey Milovidov
4a052f60c7
Don't use debug info from ELF file if it doesn't correspond to the running binary.
2020-06-14 06:10:35 +03:00
Alexey Milovidov
30f1f88118
Allow case-insensitive regexps; added a test #11101
2020-06-14 03:43:42 +03:00
Ildus Kurbangaliev
01d903c60d
add minMap and maxMap functions
2020-06-13 08:49:00 +00:00
Alexey Milovidov
21897f2abd
Instrument
2020-06-13 04:35:49 +03:00
Alexey Milovidov
b8b55a5b99
More LeaderElection to Storage/MergeTree
2020-06-13 04:35:49 +03:00
Alexey Milovidov
902774c89c
Removed default value of constructor
2020-06-13 04:34:05 +03:00
Alexey Milovidov
a690851586
Fix style
2020-06-13 00:20:59 +03:00
Alexey Milovidov
8985d64237
Fix "Arcadia" build
2020-06-13 00:20:00 +03:00
Alexey Milovidov
f608044690
Fix error
2020-06-12 21:19:16 +03:00
Alexey Milovidov
72257061d5
Avoid errors due to implicit int<->bool conversions when using ZK API
2020-06-12 18:09:12 +03:00
Denis Glazachev
9e3a28a6b8
Merge branch 'master' into ldap-per-user-authentication
...
* master: (414 commits)
Update file.md
Update merge.md
Update dictionary.md
Update external-data.md
Update distributed.md
Update null.md
Update set.md
Update join.md
Update url.md
Update view.md
Update materializedview.md
Update memory.md
Update buffer.md
Update generate.md
removed a sentence about global lock during rename (#11577 )
greatCircleAngle en translation (#11584 )
Update configuration-files.md
try fix flacky test
Update why.html
Update rich.html
...
# Conflicts:
# src/Common/ErrorCodes.cpp
# utils/ci/jobs/quick-build/run.sh
2020-06-11 03:06:17 +04:00
alexey-milovidov
4f2ed7a5e3
Merge branch 'master' into arch-chooser
2020-06-10 22:31:19 +03:00
Ivan Blinkov
0316464ed4
fix
2020-06-10 18:30:13 +03:00
Ivan Blinkov
60b40f0403
Lost part of refactoring
2020-06-10 17:51:25 +03:00
Ivan Blinkov
6191d33bd9
Do not cache frames inside StackTrace
2020-06-10 16:30:12 +03:00
Ivan Blinkov
90ee4d52f4
merge master
2020-06-10 13:18:41 +03:00
Alexander Tokmakov
6bb68329f8
Merge branch 'master' into merging_external_source_cassandra
2020-06-09 19:51:14 +03:00
Ivan Blinkov
6f7064928f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 19:07:57 +03:00
Ivan
47ad338cb2
Refactor CMake build files ( #11390 )
...
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Ivan Blinkov
5b3fef526e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 11:51:29 +03:00
Vxider
ab160a3d92
Merged with master
2020-06-09 16:48:04 +08:00
Alexey Milovidov
9b53cb052f
Limit stack frame size in tests
2020-06-09 01:45:38 +03:00
Alexey Milovidov
869f13b21f
Fix error
2020-06-09 01:37:35 +03:00
Alexey Milovidov
af176b8191
Continuation
2020-06-08 22:39:49 +03:00
Alexey Milovidov
475af33319
Avoid too large stack frames
2020-06-08 20:35:45 +03:00
alexey-milovidov
16f0e3a467
Merge pull request #11493 from ClickHouse/kuskarov-fix_history_bugs
...
Merging #11453 (save history in clickhouse-client after every query)
2020-06-08 02:13:20 +03:00
Alexey Milovidov
df19db1509
Added a test for history in clickhouse-client
2020-06-07 20:29:34 +03:00
tavplubix
686c0539db
Merge pull request #11487 from ClickHouse/improve_dns_cache
...
Use DNSResolver to check if user is allowed to connect from an address
2020-06-07 19:55:03 +03:00
tavplubix
103f0d3ead
Update DNSResolver.cpp
2020-06-07 18:17:23 +03:00
alexey-milovidov
f804321cba
Update DNSResolver.cpp
2020-06-07 03:18:54 +03:00
Alexander Tokmakov
f620d97f9f
fix
2020-06-07 00:48:38 +03:00
Alexander Tokmakov
0cf8015f4a
use DNSResolver to check if user is allowed to connect
2020-06-07 00:02:29 +03:00
Anton Popov
5c42408add
Merge pull request #9113 from dimarub2000/group_by_in_order_optimization
...
[WIP] Optimization of GROUP BY with respect to table sorting key.
2020-06-06 14:25:59 +03:00
Alexander Kuzmenkov
d17a435fb6
Merge pull request #11226 from ClickHouse/aku/merge-perf-events
...
Merge Perf events metrics #9545
2020-06-05 23:10:54 +03:00
Ivan Blinkov
653a9afda0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-05 22:51:28 +03:00
Alexander Kuzmenkov
5523444d91
cleanup
2020-06-05 15:53:47 +03:00
Alexander Kuzmenkov
7db8edf402
Merge pull request #11446 from ClickHouse/aku/better-error-messages
...
Improve error messages
2020-06-05 13:11:02 +03:00
Alexander Kuzmenkov
435f53e05a
Improve error messages
...
Also support fmt for exception messages, the same way we use it in
logging macros.
2020-06-04 20:50:29 +03:00
Alexander Kuzmenkov
377da4656d
cleanup
2020-06-04 18:51:34 +03:00
Alexander Kuzmenkov
60920c3077
let's be optimistic, it will build eventually
2020-06-03 16:44:36 +03:00
Alexander Kuzmenkov
1ab3201454
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-03 16:36:22 +03:00
Alexander Kuzmenkov
07e4bb7050
Remove assorted synonyms of LOGICAL_ERROR.
...
We don't need any special handling for them on the client, and, on the
contrary, have to handle them as logical errors in tests.
2020-06-03 16:18:42 +03:00
Alexander Tokmakov
e3aa20708a
Merge branch 'master' into merging_external_source_cassandra
2020-06-03 14:55:02 +03:00
Alexander Kuzmenkov
3bf9cec63b
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-03 14:49:49 +03:00
Alexander Kuzmenkov
eca69d1a56
please build already
2020-06-03 14:25:56 +03:00
Alexander Kuzmenkov
9ae46722cb
build
2020-06-03 11:48:26 +03:00
Alexander Kuzmenkov
609780c153
build fix
2020-06-02 19:52:50 +03:00
Alexander Kuzmenkov
42debdfbb2
build fixes
2020-06-02 17:09:51 +03:00
Alexander Kuzmenkov
0a5cc96b67
Fuzzing-related changes.
...
* More LOGICAL_ERROR
* Proper cloning of some Asts
* Field::safeGet for user-supplied values
2020-06-02 16:56:10 +03:00
Alexander Kuzmenkov
d9f00a8f48
fix build
2020-06-02 12:58:48 +03:00
Alexander Kuzmenkov
dc24d69566
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-02 12:56:02 +03:00
Denis Glazachev
c61cbe8e98
Merge branch 'master' into ldap-per-user-authentication
...
* master: (114 commits)
Update PushingToViewsBlockOutputStream.cpp
Update PushingToViewsBlockOutputStream.cpp
make clang-10 happy
Fix sync_async test (remove timeout)
CLICKHOUSEDOCS-631: temporary_files_codec, join_on_disk_max_files_to_merge settings. (#11242 )
Suppress output of cancelled queries in clickhouse-client #9473
Better log messages in ConfigReloader
fix select from StorageJoin
Fix unit tests under MSan
Added test.
Fix build.
Fix arguments for AggregateFunctionQuantile/
Update style.md
Add a guide on error messages.
Report dictionary name on dictionary load errors.
more types in ASOF JOIN (#11301 )
Fix part_log test
Update test.
Add perftest.
Parallel processing for PushingToViewsBlockOutputStream::writeSuffix
...
2020-06-02 12:42:29 +04:00
Ivan Blinkov
4bd678a3fd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-02 08:21:30 +03:00
Ivan Blinkov
03f4aa19aa
apply comment
2020-06-02 08:16:41 +03:00
Ivan Blinkov
35734aadde
apply comment
2020-06-02 08:15:11 +03:00
Alexey Milovidov
d34b1a8791
Merge branch 'master' into improve-performance-of-client-interactive-mode
2020-06-02 04:24:17 +03:00
Alexey Milovidov
3019ca3408
Added comments
2020-06-02 04:20:44 +03:00
Ivan Blinkov
5a32d79135
experiment
2020-06-01 23:55:32 +03:00
Ivan Blinkov
e9a04f7741
more build fixes
2020-06-01 23:48:42 +03:00
alexey-milovidov
7c83679a37
Merge pull request #11341 from ClickHouse/config-reloader-better-log
...
Better log messages in ConfigReloader
2020-06-01 23:17:02 +03:00
Ivan Blinkov
6bd4282727
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 21:49:56 +03:00
Ivan Blinkov
f6e69355fa
experiment
2020-06-01 21:10:19 +03:00
Alexey Milovidov
5bc5459628
Better log messages in ConfigReloader
2020-06-01 20:58:25 +03:00
Alexander Kuzmenkov
03d8bf9242
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-01 20:15:25 +03:00
Alexander Kuzmenkov
aa1f552a8f
build fixes
2020-06-01 20:13:54 +03:00
Alexey Milovidov
7fcfcf201d
Fix unit tests under MSan
2020-06-01 20:07:27 +03:00
Alexander Tokmakov
62761eddcc
Merge branch 'master' into merging_external_source_cassandra
2020-06-01 14:44:46 +03:00
Ivan Blinkov
fcc7ff0ef9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 08:42:03 +03:00
alexey-milovidov
166b267dcf
Merge pull request #11323 from ClickHouse/improve-performance-of-client-interactive-mode-2
...
Improve performance of client interactive mode
2020-06-01 04:21:23 +03:00
Alexey Milovidov
a76bd99e84
Added setting "output_format_pretty_max_value_width"
2020-06-01 01:12:13 +03:00
alexey-milovidov
9984e989c1
Merge pull request #11317 from ClickHouse/logger-fmt-2
...
Preparation for structured logging
2020-06-01 00:11:29 +03:00
Alexey Milovidov
eb0e28b26d
Added a function "computeBytesBeforeWidth"
2020-05-31 23:03:11 +03:00
Alexey Milovidov
ad14025b5e
Further improvement
2020-05-31 22:47:39 +03:00
Alexey Milovidov
463d2cf836
Improve performance of UTF8::computeWidth
2020-05-31 22:22:31 +03:00
alexey-milovidov
195635d1cb
Merge pull request #11316 from ClickHouse/better-not-enough-memory-message
...
Better exception message in case when there is shortage of memory mappings
2020-05-31 16:59:34 +03:00
Denis Glazachev
e8144976fe
Merge branch 'master' into ldap-per-user-authentication
2020-05-31 15:09:16 +04:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956
Preparation for structured logging
2020-05-31 00:35:52 +03:00
Dmitry
4b0d32f026
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-31 00:21:02 +03:00
Alexey Milovidov
b95b6ec0ee
Tested with "trap" function
2020-05-30 23:02:44 +03:00
Alexey Milovidov
9a41eb14a6
Fix build
2020-05-30 22:40:23 +03:00
Alexey Milovidov
09d2f19287
Better exception in case when there is shortage of memory mappings
2020-05-30 22:38:25 +03:00
Alexey Milovidov
43c2a46672
Fix very rare race condition in ThreadPool
2020-05-30 21:57:02 +03:00
MovElb
b4b5c90343
squash
2020-05-30 20:05:05 +03:00
Ivan Blinkov
77d8c9baca
Add anonymize option and version tag
2020-05-30 11:02:13 +03:00
Ivan Blinkov
6dfe44f437
style
2020-05-30 11:01:15 +03:00
Ivan Blinkov
95ca1c648d
fix __msan_unpoison
2020-05-30 10:59:43 +03:00
Ivan Blinkov
f88b85625a
style
2020-05-30 00:36:47 +03:00
Ivan Blinkov
a84123195b
adjust comments
2020-05-29 23:08:05 +03:00
Ivan Blinkov
95ee742ee7
merge master
2020-05-29 22:56:10 +03:00
Alexander Tokmakov
8921041706
Merge branch 'master' into merging_external_source_cassandra
2020-05-29 18:20:39 +03:00
alexey-milovidov
9a4fd5cf56
Merge pull request #11272 from ClickHouse/fix-usage-of-fmtlib
...
Fix potential incorrect usage of fmtlib
2020-05-29 16:22:52 +03:00
Alexander Kuzmenkov
6e3bbf83e3
thread-local perf events
2020-05-29 16:04:32 +03:00
Nikolai Kochetov
cf08299e43
Merge pull request #11249 from ClickHouse/fix-memory-tracked-description-race
...
Fix race for description in MemoryTracker.
2020-05-29 13:42:07 +03:00
Denis Glazachev
cd5d3ed618
Merge branch 'master' into ldap-per-user-authentication
...
* master:
Remove error code
Better
Remove redundant header
Fix unit tests
Better error codes
2020-05-29 14:07:42 +04:00
Alexander Kazakov
3f53b5b335
Fixed improper logging of failures in destructors of certain metrics ( #11264 )
2020-05-29 12:45:55 +03:00
alesapin
9a34310ead
Merge pull request #11262 from ClickHouse/fix_unit_broken_tests
...
Fix unit broken tests
2020-05-29 11:18:46 +03:00
Denis Glazachev
f9d4136792
Merge branch 'master' into ldap-per-user-authentication
2020-05-29 10:52:44 +04:00
Dmitrii Kovalkov
f59b13a58d
Fix style issues
2020-05-29 07:34:10 +02:00
Alexey Milovidov
e8f52337aa
Fix incorrect usage of fmtlib
2020-05-29 03:09:12 +03:00
alesapin
db72f39594
Remove error code
2020-05-28 22:07:20 +03:00
alesapin
e9c1e1a7e4
Remove redundant header
2020-05-28 21:54:42 +03:00
alesapin
93801a1a9d
Fix unit tests
2020-05-28 21:52:08 +03:00
alesapin
a95469020a
Better error codes
2020-05-28 21:02:41 +03:00
Maxim Akhmedov
f5b1ab8e4a
Use proper versions in Arcadia build.
2020-05-28 16:46:56 +03:00
Nikolai Kochetov
b71d520a3f
Fix race for description in MemoryTracker.
2020-05-28 15:30:42 +03:00
alexey-milovidov
545c9e5bac
Merge pull request #11236 from abyss7/CLICKHOUSE-4856
...
Build universal ClickHouse binary with ya.make
2020-05-28 15:28:49 +03:00
Alexander Kuzmenkov
40b704fb61
remove some C
2020-05-28 15:03:22 +03:00
Alexander Kuzmenkov
3c18344b06
account for counter multiplexing
2020-05-28 13:48:34 +03:00
Ivan Lezhankin
2432ea2c4b
Build universal binary using ya make
2020-05-28 00:58:46 +03:00
Denis Glazachev
2863de750e
Merge branch 'master' into ldap-per-user-authentication
2020-05-28 01:30:52 +04:00
Denis Glazachev
d74f1357d4
Add LDAP authentication support
2020-05-28 01:06:33 +04:00
Ivan Blinkov
31123236cb
Settings for crash report opt-in
2020-05-27 23:15:33 +03:00
Ivan Blinkov
709b4f42c8
Prototype sending crash reports on segfaults
2020-05-27 22:11:04 +03:00
Alexander Kuzmenkov
4e566c3570
support new logging functions
2020-05-27 17:16:34 +03:00
Alexander Kuzmenkov
db84f0e892
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-27 16:30:13 +03:00
Alexey Milovidov
146370934a
Keep the value of DistributedFilesToInsert metric on exceptions
2020-05-27 13:07:38 +03:00
Alexander Tokmakov
940132adc4
Merge branch 'master' into merging_external_source_cassandra
2020-05-27 00:13:57 +03:00
Dmitry
38c585f867
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-26 21:27:50 +03:00
Alexander Kuzmenkov
83aaea7b0f
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 18:29:42 +03:00
Vasily Nemkov
28a2cc0a82
Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
...
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
2020-05-26 16:42:22 +03:00
Vitaly Baranov
e27ded8798
Merge pull request #11172 from vitlibar/grpc-improve-build-scripts
...
Improve build scripts for protobuf & gRPC
2020-05-26 13:27:54 +03:00
Alexander Kuzmenkov
9d25ae22b5
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 09:07:01 +03:00
Alexander Kuzmenkov
bf941755f2
fixup
2020-05-26 09:00:51 +03:00
Alexander Kuzmenkov
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Alexey Milovidov
55a02c391d
Style
2020-05-26 01:06:02 +03:00
Vitaly Baranov
58a2172154
Improve build scripts related to protobuf and gRPC.
2020-05-25 18:46:57 +03:00
Alexander Kuzmenkov
8d5bbed2de
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:44:11 +03:00
alexey-milovidov
bee5849c6a
Merge pull request #11137 from ClickHouse/logger-fmt
...
fmt-style logging, part 1
2020-05-25 01:38:14 +03:00
Alexey Milovidov
01be2dadb3
Various comments
2020-05-24 21:05:06 +03:00
Alexey Milovidov
d0c0a0aed6
Unrolled histogram calculation 8 times
2020-05-24 18:51:23 +03:00
Alexey Milovidov
e99ed19586
Unrolled histogram calculation
2020-05-24 18:48:11 +03:00
Alexey Milovidov
04022f71b4
Added comment
2020-05-24 18:35:48 +03:00
Alexey Milovidov
4748de9c85
Fix partial radix sort: it was not working at all
2020-05-24 18:26:07 +03:00
Alexey Milovidov
5e7ea6500c
Fix error
2020-05-24 17:48:53 +03:00
Alexey Milovidov
32158d9aee
Trying to understand and fix the code of RadixSortMSD
2020-05-24 17:42:20 +03:00
Alexey Milovidov
a8e8bc4298
Added a comment
2020-05-24 13:49:43 +03:00
alexey-milovidov
aa8f385085
Merge pull request #11159 from ClickHouse/fix-radix-sort
...
Fix radix sort after #10981
2020-05-24 02:31:45 +03:00
Alexey Milovidov
7e1813825b
Return old names of macros
2020-05-24 01:24:01 +03:00
Alexey Milovidov
61cc605ee7
Remove old method
2020-05-24 01:21:29 +03:00
Alexey Milovidov
f75587e562
Progress on task
2020-05-23 23:13:34 +03:00
Alexey Milovidov
7e2fb9ad65
Apply all transformations again
2020-05-23 22:38:30 +03:00
Alexey Milovidov
eacff92d0e
Progress on task
2020-05-23 22:35:08 +03:00
Alexey Milovidov
29762240de
Remove duplicate whitespaces (preparation)
2020-05-23 22:31:54 +03:00
Alexey Milovidov
7fed65cbe2
Remove duplicate whitespaces (preparation)
2020-05-23 22:14:58 +03:00
Alexey Milovidov
ab0562a574
Make all LOG in single line (preparation)
2020-05-23 22:05:41 +03:00
Alexey Milovidov
9d2a0d2dd7
Apply all transformations again
2020-05-23 21:59:49 +03:00
Alexey Milovidov
a2ad11897f
Remove duplicate whitespaces (preparation)
2020-05-23 21:53:58 +03:00
Alexey Milovidov
1f13515a65
Make all LOG in single line (preparation)
2020-05-23 21:31:37 +03:00
Alexey Milovidov
241f8c5431
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+ \+ "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+) \+ "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
2020-05-23 20:10:21 +03:00
Alexey Milovidov
f69cbdcbfc
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 20:09:37 +03:00
Alexey Milovidov
533f86278a
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5{}\7", \4, \6);/'
2020-05-23 20:00:41 +03:00
Alexey Milovidov
8042e5febe
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}", \4, \6);/'
2020-05-23 19:58:15 +03:00
Alexey Milovidov
e391b77d81
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
2020-05-23 19:56:05 +03:00
Alexey Milovidov
ee4ffbc332
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 19:47:56 +03:00
Alexey Milovidov
8d2e80a5e2
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+"\)' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+, "[^"]+")\)/\1_FORMATTED(\2)/'
2020-05-23 19:42:39 +03:00
tavplubix
6ece9649f1
Merge pull request #11151 from naorlov/CLICKHOUSE-7224
...
Add `FailedQuery`, `FailedSelectQuery` and `FailedInsertQuery`
2020-05-23 18:47:44 +03:00
Alexey Milovidov
9c15e3ad92
Make it right
2020-05-23 18:29:43 +03:00
Alexey Milovidov
82f03fa8ce
Fix loop unrolling
2020-05-23 18:22:04 +03:00
Alexey Milovidov
73a3394b3d
Clarifications #10981
2020-05-23 17:28:22 +03:00
alexey-milovidov
34eb533842
Merge pull request #10981 from g-arslan/master
...
Try to remove redundant data move in radix sort
2020-05-23 15:55:35 +03:00
Alexey Milovidov
3e87b5fe72
Remove old TODO
2020-05-23 14:50:21 +03:00
Nikita Orlov
dffd15f643
issue-7224 Add failed Insert and Select query counters to ProfileEvents
2020-05-23 01:00:15 +03:00
Alexander Tokmakov
ac54d470da
Merge branch 'master' into merging_external_source_cassandra
2020-05-22 17:27:40 +03:00
Andrey Skobtsov
806d2c9838
1 or 4 spaces in example values
2020-05-22 15:30:02 +03:00
Andrey Skobtsov
93d8e8c404
Removed perf page faults as they already exist in rusage
2020-05-22 14:09:14 +03:00
Dmitry
47778c0259
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-21 23:45:12 +03:00
Andrey Skobtsov
e3b756e65f
Added cpu-clock
to the list of supported events as it is included in perf and can be disabled if needed
2020-05-21 23:40:47 +03:00
Andrey Skobtsov
790d7c2000
Reverted ctime
> sys/time.h
include just to not show it in the pull request
2020-05-21 23:29:20 +03:00
Andrey Skobtsov
5217fd7952
Renamed counters_id
to latest_counters_id
to be more specific about what this variable holds
2020-05-21 23:27:33 +03:00
Andrey Skobtsov
713173a3a5
More precise number of total events
2020-05-21 23:21:42 +03:00
Andrey Skobtsov
72e5545c51
Logging warnings instead of infos and always as the user can select
...
what metrics he wants to measure and perf measurements will be disabled by default
2020-05-21 23:20:55 +03:00
Andrey Skobtsov
bf5c7c4411
Logging perf event settings name when event is not supported
2020-05-21 23:11:19 +03:00
Andrey Skobtsov
d00609cb70
Validating file descriptors for external modification
2020-05-21 17:14:01 +03:00
alexey-milovidov
765510d5c3
Merge pull request #10991 from ClickHouse/enable-clang-tidy-for-programs-and-utils
...
Enable clang-tidy for programs and utils
2020-05-21 15:12:07 +03:00
g-arslan
3267eaa498
fix style
2020-05-21 15:00:55 +03:00
g-arslan
b88d0dec1c
some little improvements
2020-05-21 15:00:55 +03:00
g-arslan
c01a7ef0e2
Implement reverse in radix sort, fix style, fix build
2020-05-21 15:00:55 +03:00
g-arslan
95668def24
Try to remove redundant data move in radix sort
2020-05-21 15:00:55 +03:00
Andrey Skobtsov
8363ccb9b7
Fixed naming for lambda
2020-05-21 00:03:08 +03:00
Alexander Tokmakov
31b6f5f0d2
Merge branch 'master' into merging_external_source_cassandra
2020-05-20 23:44:53 +03:00
Alexander Kuzmenkov
50df893dc6
Assert that allocator & container are consistent wrt. inline memory
...
There are lots of places where HashTable is used with
AllocatorWithStackMemory, but the size of allocator inline memory is set
incorrectly, and it's less than the initial HashTable buffer size.
Because of this, HashTable is always allocated on the heap, and the
inline memory becomes a useless dead weight.
For PODArray, we have previously added a helper template that makes sure
these values are in sync, so there was only one such discrepancy left,
in the unit test.
2020-05-20 22:37:13 +03:00
Andrey Skobtsov
a329a6a86a
Fixed compilation on non linux devices
2020-05-20 21:54:07 +03:00
Andrey Skobtsov
4151cf7ac8
Removed useless comment
2020-05-20 21:37:16 +03:00
Andrey Skobtsov
97043e588f
Space
2020-05-20 21:30:09 +03:00
Andrey Skobtsov
4816abed28
Settings for measuring only particular metrics via perf events
2020-05-20 21:25:49 +03:00
Andrey Skobtsov
844aac40e5
typedef > using
2020-05-19 21:25:40 +03:00
Andrey Skobtsov
b6d6427748
Added file descriptors threshold
2020-05-19 21:22:30 +03:00
Andrey Skobtsov
483c78ba8f
Fixed warnings
2020-05-19 17:01:51 +03:00
alesapin
a416813597
Merge pull request #10777 from NanoBjorn/refactor-reservations
...
VolumePtr instead of DiskPtr in MergeTreeData*
2020-05-19 13:27:11 +03:00
Alexander Tokmakov
175b7aedf3
Merge branch 'master' into merging_external_source_cassandra
2020-05-19 05:21:27 +03:00
Andrey Skobtsov
ef788758bf
Revert "Fixed current counter id check"
...
This reverts commit f98c53e8
2020-05-19 01:30:40 +03:00
Andrey Skobtsov
f98c53e8d8
Fixed current counter id check
2020-05-19 01:29:46 +03:00
Andrey Skobtsov
04a902ba68
Reverted switch case indentation (v2)
2020-05-19 01:27:19 +03:00
Andrey Skobtsov
b8d447297b
Reverted switch case indentation
2020-05-19 01:26:35 +03:00
Andrey Skobtsov
4103700aa6
Changed comments
2020-05-19 01:17:19 +03:00
Andrey Skobtsov
b0a3dc2b88
Moved static on top of thread_local
2020-05-19 01:15:04 +03:00
Andrey Skobtsov
e46cabe1d8
UInt64 numbers to track active counters instead of memory addresses
2020-05-19 01:13:55 +03:00
Andrey Skobtsov
979b357c05
Removed unused method
2020-05-19 00:46:46 +03:00
Artem Zuikov
97c7447130
Bitonic sort improvements ( #10934 )
2020-05-19 00:41:23 +03:00
Andrey Skobtsov
901f546aee
Fixed 0 value of paranoid handling
2020-05-19 00:40:15 +03:00
Andrey Skobtsov
1edd29b3f8
Removed custom events as they don't work in an "increment" manner
2020-05-18 15:23:47 +03:00
Andrey Skobtsov
e7bea6e03a
Renamed events
2020-05-18 14:44:40 +03:00
Andrey Skobtsov
182e4f2c0b
Added running and enabled time for perf metrics
2020-05-18 13:40:01 +03:00
Artem Zuikov
0fe723acc9
Try to fix arcadia sync ( #10959 )
2020-05-18 13:26:23 +03:00
alesapin
07cb21ccb7
Merge branch 'master' into refactor-reservations
2020-05-18 11:43:48 +03:00
alexey-milovidov
a316184bef
Merge pull request #10990 from ClickHouse/odbc-bridge-wait-exp-backoff
...
Wait for odbc-bridge with exponential backoff
2020-05-18 10:17:59 +03:00
Nikolai Kochetov
cdb742dd4b
Added comment.
2020-05-18 09:06:48 +03:00
Nikolai Kochetov
fcde0d36bd
Merge pull request #10978 from ClickHouse/static-mutate
...
Try fix performance after static mutate.
2020-05-18 09:02:24 +03:00
alexey-milovidov
7efd2a825f
Merge pull request #10463 from ClickHouse/parallel-final
...
Parallel final
2020-05-18 05:20:18 +03:00
Alexey Milovidov
b0a5ce7743
Enable clang-tidy for programs and utils
2020-05-18 04:19:50 +03:00
Alexey Milovidov
7b5dfd9c00
Wait for odbc-bridge with exponential backoff
2020-05-18 04:06:04 +03:00
Nikolai Kochetov
aab2599fad
Fix build.
2020-05-17 23:26:53 +03:00
alexey-milovidov
6f1d522b6a
Merge pull request #10980 from azat/database-atomic-fixes
...
Database atomic fixes
2020-05-17 23:25:56 +03:00
alexey-milovidov
8d3c37992a
Merge pull request #10533 from ClickHouse/alter-key-column-better-exception-message
...
Better exception message and error code for ALTER of key column #9078
2020-05-17 22:21:14 +03:00
Nikolai Kochetov
c8e7ea0d6c
Try fix performance.
2020-05-17 21:55:49 +03:00
Azat Khuzhin
31035a3cd1
Allow relative path for renameat2 by using AT_FDCWD
...
Otherwise this will trigger logical error on CREATE TABLE with default
config.d overrides (path=./).
2020-05-17 17:02:03 +03:00
Andrey Skobtsov
40ad18be8e
Fixed compilation namespace issue and formatting
2020-05-17 16:56:17 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
...
Static mutate
2020-05-17 09:05:35 +03:00
Alexey Milovidov
9fcfe5fb14
Better exception message and error code for ALTER of key column #9078
2020-05-17 07:46:25 +03:00
Andrey Skobtsov
cae41826a8
Merge branch 'master' into perf_events_metrics
...
# Conflicts:
# src/Common/ThreadProfileEvents.cpp
# src/Common/ThreadProfileEvents.h
# src/Common/ThreadStatus.cpp
# src/Common/ThreadStatus.h
2020-05-17 00:21:22 +03:00
Gleb Novikov
1a25ac6e1f
Merge branch 'master' into refactor-reservations
2020-05-16 23:34:45 +03:00
Azat Khuzhin
c059ee0085
Use is_trivial+is_standard_layout over is_pod (later is deprecated)
2020-05-16 00:00:38 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
Nikolai Kochetov
70ce0149b1
Try fix build.
2020-05-15 13:10:13 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
...
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
Artem Zuikov
8e8a2a17d6
build fixes
2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) ( #10232 )
2020-05-15 03:01:14 +03:00
Alexey Milovidov
81a5d02628
Fix annoying "Arcadia" build
2020-05-14 20:05:55 +03:00
Nikolai Kochetov
4d22374f24
Merged with master.
2020-05-14 12:06:15 +03:00
Nikolai Kochetov
d68c385d35
Remove old code.
2020-05-14 11:59:15 +03:00
Nikolai Kochetov
4d0503f021
Make IColumn::mutate() static.
2020-05-14 11:30:18 +03:00
Alexey Milovidov
770cc9e863
Fix "Arcadia" build that is using obsolete version of C++ standard
2020-05-14 02:12:16 +03:00
Alexey Milovidov
c3cea85b10
Support for unicode whitespaces in Lexer
2020-05-14 00:31:57 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
...
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
alexey-milovidov
63c6eb1a37
Update ZooKeeper.h
2020-05-13 23:40:54 +03:00
Vitaly Baranov
dd8b29b4fb
Use enum Type instead of std::type_index to represent the type of IAccessEntity.
...
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
tavplubix
39518fe725
trigger CI
2020-05-13 16:45:39 +03:00
Alexander Tokmakov
032197b015
fix alter and optimize hangs when replica becomes inactive
2020-05-13 10:06:57 +03:00
Azat Khuzhin
e102ad373a
Fix SIGSEGV in StringHashTable if such key is not exists
2020-05-13 03:40:05 +03:00
Dmitry
c4295d97f9
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-12 17:57:32 +03:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final
2020-05-11 06:47:44 +03:00
Gleb Novikov
57b6fb6d80
Merge branch 'master' into refactor-reservations
2020-05-10 13:01:45 +03:00
Gleb Novikov
a961e049a2
VolumeType as class with enum member class
2020-05-10 09:26:33 +03:00
Alexey Milovidov
dda2151f71
Fix build
2020-05-10 02:35:20 +03:00
Alexey Milovidov
fb32dbe6ee
Enable more warnings
2020-05-10 00:44:33 +03:00
Gleb Novikov
390b39b272
VolumePtr instead of DiskPtr in MergeTreeData*
2020-05-10 00:24:15 +03:00
Azat Khuzhin
150dd81e3b
Fix build with unbundled Poco
2020-05-09 01:22:12 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Alexey Milovidov
dea8d366c9
Loose some limitation
2020-05-07 04:29:31 +03:00
alexey-milovidov
443c64abc0
Merge pull request #10638 from ClickHouse/fix-ubsan-hashtable
...
Fix UBSan report in HashTable
2020-05-04 04:50:25 +03:00
Alexey Milovidov
bb6eabd82d
Fix HTTP response code for some parse errors #10636
2020-05-03 22:47:07 +03:00
Alexey Milovidov
8f7374c6de
Fix another UBSan warning
2020-05-03 21:39:52 +03:00
Alexey Milovidov
9a344e681f
Fix UBSan report in FixedHashTable
2020-05-03 21:24:11 +03:00
Alexey Milovidov
626b9a3ae9
Fix UBSan report in HashTable
2020-05-03 21:21:18 +03:00
Alexey Milovidov
600b396f1b
Merge remote-tracking branch 'origin/master' into sampling-memory-profiler
2020-05-01 21:48:20 +03:00
Alexander Kazakov
e9baaa439b
Implementation of new system metrics provider (Procfs) ( #10544 )
...
* New metrics provider (Procfs) + Refactored TasksStatsCounters
* Trivial statless test that ProcFS is provided
* Trivial perf test for ProcfsMetricsProvider
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-05-01 21:47:41 +03:00
Alexey Milovidov
c4b64edc14
Merge branch 'master' into sampling-memory-profiler
2020-05-01 16:47:10 +03:00
Alexander Kuzmenkov
2ac26bd3a5
Disable mremap under MemorySanitizer.
2020-05-01 10:38:05 +03:00
Alexey Milovidov
293ae88e7f
Add sampling memory profiler
2020-04-30 16:25:17 +03:00
Nikolai Kochetov
19dadb8c2d
Add parallel final.
2020-04-30 12:59:08 +03:00
Alexey Milovidov
a7d7dc5034
Fix some bad code
2020-04-26 20:34:36 +03:00
alexey-milovidov
378d73d477
Merge pull request #10449 from azat/metrics-for-new-bg-schedule-pools
...
Add tasks/memory metrics for distributed/buffer schedule pools
2020-04-26 20:16:02 +03:00
Dmitry
d9ac0e8fef
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-26 14:44:06 +03:00
tavplubix
7928f2eaa1
Merge pull request #7512 from ClickHouse/database_atomic
...
DatabaseAtomic
2020-04-24 22:28:18 +03:00
Alexander Tokmakov
04d4130b0d
update yamake
2020-04-24 20:14:10 +03:00
alexey-milovidov
79d531af87
Merge pull request #10466 from ClickHouse/aku/arena-infinite-loop
...
Work around a bug leading to an infinite loop in addressToLine
2020-04-24 10:38:07 +03:00
Alexander Kuzmenkov
2bedc82c18
Work around a bug leading to an infinite loop in addressToLine.
...
Fixing this is hopeless and would entail rewriting the entire
WriteBuffer thing, and also this hack is something we can backport.
2020-04-24 02:42:04 +03:00
Andrey Skobtsov
b6a5b1b12f
Fix styling
2020-04-23 22:38:15 +03:00
Andrey Skobtsov
0cf949f1b5
A bit of reformatting code
2020-04-23 21:50:12 +03:00
Andrey Skobtsov
30a87a8a58
perf events' values are 64 bit unsigned; so, read them instead of the signed ones
2020-04-23 21:50:12 +03:00
Andrey Skobtsov
30e19c3abb
Using the same file descriptors for all counters on the current thread (only one instance of PerfEventsCounters
can be active at a given time for a thread)
2020-04-23 21:50:12 +03:00
Alexander Tokmakov
15e7ce0053
fixes
2020-04-23 21:00:43 +03:00
Alexander Tokmakov
04d6b59ac0
Merge branch 'master' into database_atomic
2020-04-23 17:31:37 +03:00
Alexander Kuzmenkov
9ed9475e46
boop the CI
2020-04-23 03:55:03 +03:00
Azat Khuzhin
d854049d21
Add tasks/memory metrics for distributed/buffer schedule pools
...
Follow-up-for: #10315
Follow-up-for: #10263
2020-04-23 02:18:37 +03:00
alexey-milovidov
fd27ce619b
Merge pull request #10444 from ClickHouse/server-memory-profiler
...
Simple server wide memory profiler
2020-04-23 00:34:23 +03:00
Alexey Milovidov
73dd78bac1
Merge branch 'master' into clang-tidy-8
2020-04-22 21:04:47 +03:00
Alexey Milovidov
07dcf40a6a
Simple server wide memory profiler
2020-04-22 20:52:21 +03:00
Alexey Milovidov
d189375051
Fix Mac OS build
2020-04-22 17:56:31 +03:00
Alexander Tokmakov
fefbbd37df
Merge branch 'master' into database_atomic
2020-04-22 17:02:30 +03:00
Alexey Milovidov
03e17405cd
Checkpoint
2020-04-22 10:03:43 +03:00
alexey-milovidov
7065a8ba9c
Merge pull request #10422 from azat/fallback_to_stale_replicas-over-skip_unavailable_shards
...
Prefer fallback_to_stale_replicas over skip_unavailable_shards
2020-04-22 09:20:25 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
Alexey Milovidov
c805ed4dea
Fixes for clang-tidy on clang-10
2020-04-22 03:29:38 +03:00
Azat Khuzhin
0cc9dbd35b
Prefer fallback_to_stale_replicas over skip_unavailable_shards
...
Patch from: @alex-zaitsev
2020-04-22 01:42:23 +03:00
Ivan
555488a458
Fix build in Arcadia ( #10413 )
2020-04-21 23:23:44 +03:00
alexey-milovidov
2645dede2c
Merge pull request #10386 from palasonic1/palasonic-fix-read-hash-table
...
Fix reading HashTable from buffer
2020-04-21 02:26:47 +03:00
tavplubix
1a067484c8
Merge pull request #10137 from kekekekule/direct_queries
...
Add custom settings support for certain dictionary sources
2020-04-21 01:21:32 +03:00
alexey-milovidov
8c2839d3c9
Merge pull request #10308 from ClickHouse/shared-context-lifetime
...
Shared context lifetime
2020-04-21 00:12:45 +03:00
Maxim Serebryakov
a99a340b0b
fix reading HashTable and HashSet
2020-04-20 23:19:03 +03:00
alexey-milovidov
faeab5f649
Merge pull request #10370 from amosbird/clang-10
...
clang-10 fix
2020-04-20 22:47:12 +03:00
Ivan
d5b0a7e691
Fix Arcadia build ( #10380 )
2020-04-20 15:21:25 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00
Nikolai Kochetov
052598534a
Try fix unit tests.
2020-04-20 12:42:56 +03:00
Amos Bird
2d08c8e4ab
clang-10 fix
2020-04-20 15:45:37 +08:00
Alexey Milovidov
acde587c75
Merge branch 'master' into fixed-string-compare-as-zero-padded
2020-04-20 06:49:21 +03:00
Alexey Milovidov
c893edf46f
Fix style
2020-04-20 06:48:35 +03:00
Alexey Milovidov
d783162548
Compare with fixed string as smaller string is zero padded #9272
2020-04-20 04:01:31 +03:00
Alexey Milovidov
ec6b176f3b
Rework total memory tracker #10293
2020-04-20 01:59:21 +03:00
Alexey Milovidov
1c00953b3e
Added test tool
2020-04-19 23:57:34 +03:00
Alexey Milovidov
71c4418876
More memory statistics
2020-04-19 23:49:13 +03:00
alexey-milovidov
72dd453c3f
Merge pull request #10234 from vitlibar/show-columns-of-not-loaded-dictionary
...
Show information about not loaded dictionaries in system tables.
2020-04-18 15:06:08 +03:00
Dmitry
25cd4ce132
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-18 12:56:34 +03:00
Vitaly Baranov
d62345bbaa
Show information about not loaded dictionaries in system.columns, system.tables
...
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00
Alexander Kuzmenkov
6793cd7cca
More granular assertion in Arena.h
2020-04-18 00:36:07 +03:00
Артем Стрельцов
948efff076
Merge branch 'master' of github.com:yandex/ClickHouse into direct_queries
2020-04-17 23:11:10 +03:00
Артем Стрельцов
741775a12f
fixed some remarks from review
2020-04-17 22:54:53 +03:00
Nikolai Kochetov
84faa9af26
Merge branch 'master' into shared-context-lifetime
2020-04-17 19:13:13 +03:00
Nikolai Kochetov
d51a9c551b
Remove shared_ptr to SharedContext from Context.
2020-04-17 12:47:40 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Alexander Kazakov
d5b3b2c7b6
Updated RWLockImpl: Fixed suboptimacy (readers queuing up) + minor tweaks to names and comments ( #10303 )
...
* Readers queue correction
* Comments, renamings and cosmetics
2020-04-16 21:56:21 +03:00
alexey-milovidov
3de1a36b33
Update ya.make
2020-04-16 18:55:39 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
alexey-milovidov
2a48b0ecd7
Merge pull request #10184 from xzkostyan/feature-zookeeper-ssl
...
Optional secured communication between ClickHouse and Zookeeper
2020-04-15 07:09:14 +03:00
Andrey Skobtsov
396c9e4279
Fixed styling v2
2020-04-14 19:23:33 +03:00
Andrey Skobtsov
f4f43ee8ab
Replaced some warnings with infos as perf events measurements are optional
2020-04-14 16:58:32 +03:00
Andrey Skobtsov
578faa01a7
Handle CAP_SYS_ADMIN
permission accordingly
2020-04-14 16:55:46 +03:00
Andrey Skobtsov
2f708fec03
Fixed compilation issues
2020-04-14 15:17:59 +03:00
Konstantin Lebedev
a7c5f622ea
Add string_utils for tests/zookeeper_impl.cpp
2020-04-14 00:27:54 +03:00
Andrey Skobtsov
8650c19967
Fixed styling
2020-04-14 00:10:31 +03:00
Andrey Skobtsov
afaa7eca51
Merge branch 'master' into perf_events_metrics
...
# Conflicts:
# dbms/src/Common/ProfileEvents.cpp
2020-04-13 23:59:48 +03:00
Alexander Tokmakov
5e6d4b9449
Merge branch 'master' into database_atomic
2020-04-12 16:35:44 +03:00
alexey-milovidov
f472535f54
Merge pull request #9968 from Enmk/SIMD_tokenization
...
Splitting string into Alpha-Num tokens with SIMD intrinsics.
2020-04-12 00:33:29 +03:00
Alexander Tokmakov
f0edb65e33
add test
2020-04-11 02:02:15 +03:00
Konstantin Lebedev
c9542b6601
Style fixes for communication between ClickHouse and Zookeeper over SSL
2020-04-11 01:09:14 +03:00
Alexander Tokmakov
033d7f9b32
Merge branch 'master' into database_atomic
2020-04-10 17:12:09 +03:00
Alexander Kazakov
497df3086f
Merge branch 'master' into timed_rwlock
...
Change-Id: I620bfde2121ff013773b001d514b40b1e796a58b
2020-04-10 11:38:20 +03:00
Alexander Tokmakov
58067438cd
add fallback for renameat2
2020-04-10 01:23:03 +03:00
Vxider
a8cd174fc4
merged with master
2020-04-09 22:34:02 +08:00
Konstantin Lebedev
b666f60af8
Optional secured communication between ClickHouse and Zookeeper
2020-04-09 01:40:54 +03:00
alexey-milovidov
80b73a209b
Merge pull request #10107 from ClickHouse/fix-globs-test
...
Fix unit test in debug build.
2020-04-08 22:46:44 +03:00
alexey-milovidov
de2fb3ea17
Merge pull request #10108 from ClickHouse/thread-fuzzer-disable-under-thread-memory-sanitizer
...
ThreadFuzzer: do not wrap pthread functions under thread and memory sanitizers
2020-04-08 22:46:07 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
...
RBAC-8
2020-04-08 05:47:55 +03:00
Alexey Milovidov
97c2d17e99
ThreadFuzzer: do not wrap pthread functions under thread and memory sanitizers
2020-04-08 05:32:33 +03:00
Alexey Milovidov
f8500cf5d5
Fix unit test
2020-04-08 04:09:01 +03:00
Alexander Tokmakov
135197aa75
fixes
2020-04-08 04:02:00 +03:00
alexey-milovidov
7212efbfbf
Merge pull request #10103 from ClickHouse/fix-zk-multi-async-flacky
...
Make the test "zk_multi_async" less flacky
2020-04-08 02:15:43 +03:00
Vitaly Baranov
e573549945
Rework access rights for table functions.
2020-04-07 23:31:59 +03:00
Alexey Milovidov
ccec944ff4
Fix flacky test, take 3
2020-04-07 23:21:43 +03:00
Olga Khvostikova
834e458f26
Fix behaviour of globs in filepath with leading zeros
2020-04-07 16:46:12 +03:00
Alexander Kazakov
621d26bcf7
Better timeout diagnostics message
2020-04-07 14:34:35 +03:00
Alexander Kazakov
78f97a7a59
Build fixes
2020-04-07 12:23:08 +03:00
Ivan
f6b31f344d
Add cross-compile build for FreeBSD ( #9643 )
...
* Add toolchain to Docker image
2020-04-07 11:33:49 +03:00
Vasily Nemkov
ef07c6d06f
Merge remote-tracking branch 'upstream/master' into SIMD_tokenization
2020-04-07 11:25:52 +03:00
Alexander Kazakov
081187dd1f
Unit test for RWLock is set to use timeout for avoiding deadlocks
2020-04-07 03:06:48 +03:00
Alexander Kazakov
b98bc9afef
Reworked RWLockImpl::getLock() + phase-fairness
...
Timeout param added to getLock() method
2020-04-07 02:44:45 +03:00
Alexander Tokmakov
a2101c9b1c
better code
2020-04-07 02:22:44 +03:00
Alexander Kazakov
2951ed4f1d
Corrected Common.RWLockDeadlock test
2020-04-07 00:35:20 +03:00
Vasily Nemkov
3d471556fb
Merge commit '73b0f8db8c327a1d63cc7ebcc56087a3f9866dae' into SIMD_tokenization
2020-04-06 20:05:02 +03:00
Alexander Tokmakov
08bae4668d
Merge branch 'master' into database_atomic
2020-04-06 16:18:07 +03:00
Vxider
2fb9138505
merged with master
2020-04-06 17:36:44 +08:00
Alexey Milovidov
110eb599c1
Fix "check style" tool
2020-04-06 02:57:24 +03:00
Ivan Lezhankin
8a5a73e76d
Merge branch 'master' into dbms2src
2020-04-03 18:20:05 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00