alexey-milovidov
f36d20915b
Merge pull request #6529 from yandex/better-signals
...
Better debug-ability of fault signals.
2019-08-18 16:44:54 +03:00
alexey-milovidov
1b3f19abab
Update StackTrace.h
2019-08-18 03:03:19 +03:00
proller
d09c5c871b
Build fixes ( #6491 )
...
* Fix build
* cmake: fix cpuinfo
* Fix includes after processors merge
Conflicts:
dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp
* Fix build in gcc8
* fix test link
* fix test link
* Fix test link
* link fix
* Fix includes after processors merge 2
Conflicts:
dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp
* Fix includes after processors merge 3
* link fix
* Fix likely/unlikely conflict with cython
* Fix conflict with protobuf/stubs/atomicops.h
* remove unlikely.h
* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
Alexey Milovidov
306878c7a0
Write symbolized stack trace on failure one line at a time and uncached
2019-08-18 01:39:26 +03:00
Alexey Milovidov
081f1bedc2
Allowed to use SIGPROF to print stack traces for debugging purposes
2019-08-18 00:13:38 +03:00
Alexey Milovidov
2cd669fa1d
Minor improvement
2019-08-17 23:33:50 +03:00
Nikolai Kochetov
18ad0e7e6b
Merged with master.
2019-08-16 13:55:40 +03:00
Gleb Novikov
ab1c4139de
Added ReplicatedMergeTree support and test for constraints, also added VIOLATED_CONSTRAINT error
2019-08-14 22:51:03 +03:00
alesapin
428c753ed7
Merge with master
2019-08-13 11:37:47 +03:00
alexey-milovidov
ed0411a414
Merge pull request #6456 from nikitamikhaylov/current_thread_init
...
CurrentThread initialization bug
2019-08-12 22:29:23 +03:00
Nikolai Kochetov
292758a321
Update CurrentThread.cpp
2019-08-12 19:33:21 +03:00
Nikolai Kochetov
ae18a6e438
Update CurrentThread.h
2019-08-12 19:07:53 +03:00
Nikolai Kochetov
1cab72450b
Update CurrentThread.cpp
2019-08-12 19:06:34 +03:00
Nikita Mikhaylov
ad5c7c0b65
done
2019-08-12 18:16:23 +03:00
chertus
2b47839a98
fix memory tracking under sanitizers
2019-08-12 15:21:07 +03:00
Nikolai Kochetov
631bbde420
Merged with master.
2019-08-12 13:19:13 +03:00
Alexey Milovidov
5830526fa1
Slightly better information messages
2019-08-11 23:37:53 +03:00
alexey-milovidov
7c3632635d
Merge pull request #6404 from CurtizJ/fix-topk
...
Fix topK and topKWeighted functions.
2019-08-11 05:15:51 +03:00
alexey-milovidov
838c5e535f
Merge pull request #6433 from yandex/prevent-stack-overflow-in-parser
...
Fixed possible stack overflow in parser
2019-08-10 23:58:54 +03:00
Alexey Milovidov
afef5c6c70
Added stack protection; added a test
2019-08-10 20:51:47 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
Nikolai Kochetov
2ae3db7920
Merged with master.
2019-08-09 18:32:44 +03:00
CurtizJ
ead6336d2c
function topK: fix merge stage and fix memory leaks
2019-08-09 13:11:50 +03:00
alexey-milovidov
b579692fe9
Merge pull request #6378 from 4ertus2/bugs
...
Fix crash in median over Nullable(Decimal128)
2019-08-08 22:32:11 +03:00
alexey-milovidov
0ece3708e7
Update PODArray.h
2019-08-08 19:07:58 +03:00
alesapin
e0d18c0fe8
Merge branch 'master' into merge_tree_settings_alter
2019-08-08 18:16:22 +03:00
CurtizJ
a56d897c2c
better performance in topK function
2019-08-08 16:06:27 +03:00
chertus
d67abcf691
better alignment
2019-08-08 15:11:54 +03:00
CurtizJ
3c227dce13
fix topK and topKWeighted functions
2019-08-08 14:27:15 +03:00
Alexey Milovidov
a6a9eaef7c
Fix for Mac OS build
2019-08-08 00:53:50 +03:00
alexey-milovidov
355b1e5594
Merge pull request #6352 from yandex/no_space_left_on_device_message
...
Print extra info in exception message for "no space left on device"
2019-08-07 22:28:38 +03:00
chertus
9c15e65dc9
alignment for AllocatorWithStackMemory
2019-08-07 21:43:06 +03:00
Alexander Tokmakov
5cf183cbe3
fixes after review
2019-08-07 15:55:27 +03:00
Alexander Tokmakov
0ee3e21fbc
fix style
2019-08-06 23:39:07 +03:00
Alexander Tokmakov
aefc664819
refactor throwFromErrno
2019-08-06 21:54:06 +03:00
Alexander Tokmakov
c3039196da
fixes
2019-08-06 17:51:27 +03:00
alesapin
52b9658bcf
Merge with master
2019-08-06 15:55:12 +03:00
Alexander Tokmakov
c96b10be9f
style fixes
2019-08-06 15:51:10 +03:00
Alexey Milovidov
eadb6ef1a4
Suppress PVS-Studio warning
2019-08-05 22:48:23 +03:00
Alexander Tokmakov
75d10f4160
print extra info in exception message
2019-08-05 22:41:20 +03:00
chertus
ef7d19e143
better JOIN exception messages #5565
2019-08-05 17:03:14 +03:00
Alexey Milovidov
ddf3466af3
Avoid using #N in logs, because it will link bogus issues and pull requests when posted on GitHub
2019-08-05 01:28:13 +03:00
proller
77bd2624ea
Build fixes ( #6016 )
...
* Fix building without submodules
* Fix more gcc9 warnings
* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* mimalloc off MI_OVERRIDE
* Fix freebsd build
* Fix shared build
* Fix build in gcc9
* Fix split build
* fix
* fix
* fix
* fix
* clean
* zstd
* Update CMakeLists.txt
* Update Defines.h
* Try fix -Wsign-compare
* Freebsd fix
* Add missing libs
* Fix double-conversion include for copy-headers
* Fix zlib link
* Fix includes for arcadia
* Fix includes for arcadia
* Fix includes for arcadia
* Freebsd fix
* Arcadia fixes
* Update QueryProfiler.cpp
* Freebsd fix
* clean
* 19.11: Fixes for arcadia porting (#6223 )
* fix glibc-compatibility
* M_LIBRARY fix
* wip
* Fix
* Fix arm build
* unwind fix
* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
Alexey Milovidov
06b99e61aa
Fixed "unbundled" build
2019-08-03 23:47:57 +03:00
Alexey Milovidov
9f6e26f14d
Fixed tests
2019-08-03 04:10:13 +03:00
Alexey Milovidov
4f8d1872d2
Merge branch 'master' of github.com:yandex/ClickHouse into fix-thread-pool-hang-if-full
2019-08-03 02:51:46 +03:00
alexey-milovidov
9af4542230
Merge pull request #6278 from yandex/fix_bool_settings_parsing
...
Fix bool settings parsing
2019-08-03 01:55:42 +03:00
alexey-milovidov
f149e3b436
Merge pull request #6277 from yandex/aku/pairnoinit
...
Make PairNoInit a simple struct.
2019-08-02 22:56:12 +03:00
Alexey Milovidov
67d91c4b88
Fixed the possibility of hanging queries when server is overloaded
2019-08-02 20:14:04 +03:00
alesapin
46a6a78e7b
Merge branch 'master' into fix_bool_settings_parsing
2019-08-02 10:51:42 +03:00
Alexey Milovidov
07273c7914
Instrumented ThreadPool
2019-08-01 23:09:38 +03:00
alesapin
7c37450c3d
Better code and tests
2019-08-01 20:43:10 +03:00
Alexander Kuzmenkov
011150fa8a
Make PairNoInit a simple struct.
2019-08-01 19:54:33 +03:00
alexey-milovidov
eeeab85bbe
Merge pull request #6247 from yandex/fix-malicious-replica
...
Fixed the case when malicious ClickHouse replica can force clickhouse-server to write to arbitrary path.
2019-08-01 07:22:58 +03:00
Alexey Milovidov
591af05e57
Fixed error with searching debug info
2019-08-01 06:45:33 +03:00
Alexey Milovidov
49b6749280
Merge branch 'master' into fix-malicious-replica
2019-08-01 05:11:45 +03:00
alexey-milovidov
10d02cd2b9
Merge pull request #6250 from yandex/better-stack-traces
...
QueryProfiler: better stack traces: start outside of signal handler
2019-08-01 04:34:32 +03:00
Alexey Milovidov
f3921ce3e0
Changed boost::filesystem to std::filesystem
2019-08-01 01:37:41 +03:00
Alexey Milovidov
e3c342d893
Better stack traces: start outside of signal handler
2019-08-01 00:40:29 +03:00
Alexey Milovidov
bc9d620155
Fixed the case when malicious ClickHouse replica can force clickhouse-server to write to arbitrary path
2019-07-31 22:31:04 +03:00
BayoNet
cf746c3eed
DOCAPI-3825: System tables. EN review, RU translation. ( #6088 )
2019-07-31 08:09:13 +03:00
alexey-milovidov
7fd6204114
Merge pull request #6197 from yandex/thread_local_rng
...
Less number of "clock_gettime" calls; fixed ABI compatibility between debug/release in Allocator.
2019-07-31 04:36:30 +03:00
Alexey Milovidov
a9b079c7ba
Minor modifications
2019-07-30 19:18:06 +03:00
Alexey Milovidov
72e0fbd861
Added support for splitted debug info; advancements
2019-07-30 19:12:53 +03:00
Alexey Milovidov
256e260693
Added one more function for introspection
2019-07-30 02:37:50 +03:00
Alexey Milovidov
372c4d89b2
Enabled line numbers in stack traces
2019-07-30 01:26:44 +03:00
Alexey Milovidov
15dc6d1818
Advancements
2019-07-29 21:38:04 +03:00
Alexey Milovidov
daa36650fb
Imported Dwarf parser from Facebook folly
2019-07-29 21:06:39 +03:00
Alexey Milovidov
957b59f0d0
Cleanups
2019-07-29 20:14:53 +03:00
Alexey Milovidov
300d25256e
Include private symbols in stack traces of QueryProfiler
2019-07-29 15:48:19 +03:00
alesapin
86831fe500
Add ability to create immutable settings
2019-07-29 14:03:50 +03:00
alesapin
d9a2ac123a
Fix small typo and merge
2019-07-29 12:17:37 +03:00
Alexey Milovidov
5fbe53b562
Speedup "symbolizeAddress" function
2019-07-29 04:08:52 +03:00
Alexey Milovidov
856cc1b9c5
Added thread_local_rng
2019-07-28 18:30:38 +03:00
Alexey Milovidov
32a9b27876
Added a comment
2019-07-28 17:55:02 +03:00
Alexey Milovidov
98c3ff92ae
Fixed non-standard build
2019-07-27 20:04:26 +03:00
Alexey Milovidov
da3806bf36
Add timer offset randomization
2019-07-26 03:51:19 +03:00
Alexey Milovidov
cf67765fc8
Reverted bad modification
2019-07-26 01:38:59 +03:00
Alexey Milovidov
5a47b0b990
Sanity and configuration checks
2019-07-26 01:35:47 +03:00
Alexey Milovidov
472a61c1fa
Updating PHDRCache after dlopen
2019-07-25 22:56:51 +03:00
Alexey Milovidov
050db07e3d
Merge branch 'master' into merge-profiler
2019-07-25 22:54:22 +03:00
chertus
50e3839157
NOT_UNBUNDLED -> UNBUNDLED
2019-07-25 13:35:57 +03:00
alexey-milovidov
f1f5cdc802
Merge pull request #6144 from yandex/fix-msan
...
Fixed MSan report
2019-07-25 04:29:11 +03:00
Alexey Milovidov
6b2810d346
Fixed error with non-SIMD implementation of memcmpSmall
2019-07-25 03:28:27 +03:00
Alexey Milovidov
5755c93d5c
Fixed MSan report
2019-07-25 01:31:39 +03:00
Alexey Milovidov
cfb2066198
Added information about thread number to trace log
2019-07-24 23:10:23 +03:00
Alexey Milovidov
d9976abe18
Added ProfileEvents for signal handler overruns
2019-07-24 22:19:29 +03:00
Alexey Milovidov
63764af4fb
Merge branch 'merge-profiler' of github.com:yandex/ClickHouse into merge-profiler
2019-07-24 22:04:13 +03:00
Alexey Milovidov
6e8258fa2f
Added ProfileEvent for dropped traces due to pipe full
2019-07-24 22:04:07 +03:00
Alexey Milovidov
f031d064b6
Don't drop all traces if frequency is too high
2019-07-24 22:03:26 +03:00
alesapin
8a00ce5ff1
Intermediate step
2019-07-24 15:56:39 +03:00
Alexey Milovidov
56bb2956cd
Addition to prev. revision
2019-07-24 05:07:16 +03:00
Alexey Milovidov
b9105e131f
Avoid deadlock in TraceCollector
2019-07-24 05:02:10 +03:00
Alexey Milovidov
33ee957b5c
Addition to prev. revision
2019-07-24 03:49:14 +03:00
Alexey Milovidov
378fff2990
Lower bound on profiler period
2019-07-24 03:46:37 +03:00
Alexey Milovidov
02fb67dc8a
Simple protection from too frequent profiler signals
2019-07-23 21:45:54 +03:00
dimarub2000
752eccf2eb
changes after review
2019-07-23 17:41:41 +03:00
Dmitry Rubashkin
13ef987361
Git commit fixes
2019-07-23 16:53:25 +03:00
Dmitry Rubashkin
4d43cf2a8d
config exception when not corresponding root names
2019-07-23 16:53:25 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
...
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00