Yakov Olkhovskiy
a9cab86a73
typo
2022-08-30 01:46:17 +00:00
Yakov Olkhovskiy
7a85a943f1
fix close lock on exec, refactoring, comments added
2022-08-30 01:11:04 +00:00
robot-clickhouse
92c14e80f1
Update version_date.tsv and changelogs after v22.3.12.19-lts
2022-08-29 14:52:19 +00:00
Alexander Tokmakov
8bdb589c2b
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-29 13:34:57 +02:00
Azat Khuzhin
35f5e56159
Update aspell-dict to fix doc check
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 00:27:19 +02:00
Alexey Milovidov
fc68e09554
Fix style
2022-08-28 22:15:09 +02:00
Alexey Milovidov
deac6cfb5d
Minor modifications
2022-08-28 20:49:39 +02:00
Yakov Olkhovskiy
ae82c68725
truncate lock
2022-08-25 10:52:56 +00:00
vdimir
f0c13b0531
Add CurrentMetrics::Value to check-style
2022-08-25 09:31:22 +00:00
Yakov Olkhovskiy
6c1a7205e3
fix style
2022-08-24 21:47:37 +00:00
Yakov Olkhovskiy
f043d03053
fix style
2022-08-24 21:28:52 +00:00
Yakov Olkhovskiy
6afd9c176b
inode based singleton
2022-08-24 21:05:00 +00:00
robot-clickhouse
274f3dbb95
Update version_date.tsv and changelogs after v22.7.4.16-stable
2022-08-23 19:13:49 +00:00
Yakov Olkhovskiy
d11d494587
Merge pull request #40426 from ClickHouse/util-compressor-exec
...
Self-extracting: add --exec param, allow compressed to be renamed
2022-08-23 11:20:28 -04:00
Yakov Olkhovskiy
088a969500
comments added
2022-08-22 12:14:29 +00:00
Yakov Olkhovskiy
47d5a64f13
fix style
2022-08-21 22:06:11 +00:00
Yakov Olkhovskiy
32717a844e
allow empty --exec to signify no executable to run, add some stats printout
2022-08-21 21:39:24 +00:00
Yakov Olkhovskiy
5be782a7e6
fix buffer overflow
2022-08-20 21:02:36 +00:00
Alexey Milovidov
74e1f4dc61
Fix clang-tidy
2022-08-20 17:09:20 +02:00
Yakov Olkhovskiy
d4facec3fa
typo
2022-08-20 14:03:03 +00:00
Yakov Olkhovskiy
151afb16e2
add EOL
2022-08-19 20:57:12 +00:00
Yakov Olkhovskiy
d81ec25027
add --exec param, allow compressed to be renamed
2022-08-19 20:43:10 +00:00
robot-clickhouse
a9b3df37dd
Update version_date.tsv and changelogs after v22.8.1.2097-lts
2022-08-18 17:45:23 +00:00
Alexander Tokmakov
ae000e9125
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-17 12:48:54 +03:00
Alexander Tokmakov
c9bb91c31f
Merge pull request #40232 from ClickHouse/fix_a_bug_with_symlinks_detection
...
Fix a bug with symlinks detection
2022-08-15 20:28:30 +03:00
Alexander Tokmakov
6f5a7c3bf7
fix a bug with symlinks detection
2022-08-15 12:30:47 +02:00
Alexey Milovidov
ce2155cf79
Remove old code
2022-08-14 05:40:48 +02:00
Alexander Gololobov
ef6ff51b9a
Merge pull request #40147 from azat/fix-keeper-bench
...
Fix keeper-bench in case of error during scheduling a thread
2022-08-12 21:10:36 +02:00
Kseniia Sumarokova
a6cfc7bc3b
Merge pull request #34651 from alexX512/master
...
New caching strategies
2022-08-12 17:23:37 +02:00
Azat Khuzhin
d3e8ad9e7e
Fix keeper-bench in case of error during scheduling a thread
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-12 10:56:11 +02:00
Mikhail f. Shiryaev
5934c6519f
Regenerate changelogs and update versions
2022-08-11 00:06:01 +02:00
Alexey Milovidov
ffde0d9530
Fix broken image in test-visualizer
2022-08-10 04:46:43 +02:00
robot-clickhouse
94fd85d586
Update version_date.tsv and changelogs after v22.6.5.22-stable
2022-08-09 18:32:28 +00:00
Kruglov Pavel
99b9e85a8f
Merge pull request #39646 from Avogar/more-formats
...
Add more Pretty formats
2022-08-09 13:59:47 +02:00
Yakov Olkhovskiy
2c3732ed3a
extract real path of executable instead of argv[0]
2022-08-08 17:56:16 -04:00
alexX512
8adf9f2448
fix compile error
2022-08-07 19:59:39 +00:00
alexX512
77def20394
Fix typos in some js code and ignore some typos
2022-08-07 19:59:39 +00:00
Yakov Olkhovskiy
9dfd650a7c
Merge pull request #39763 from ClickHouse/util-self-extracting-exec
...
Self-extracting - run resulting executable with execvp
2022-08-05 08:13:15 -04:00
Alexey Milovidov
f474eb957d
Merge pull request #39758 from ClickHouse/tsan_clang_15
...
Try clang-15 for build with tsan
2022-08-04 01:56:52 +03:00
Yakov Olkhovskiy
ba86959b72
Merge branch 'util-self-extracting-exec' of https://github.com/ClickHouse/ClickHouse into util-self-extracting-exec
2022-08-03 13:15:06 -04:00
Yakov Olkhovskiy
53530a5fa4
deadcode/clang-tidy fight solution
2022-08-03 13:11:11 -04:00
robot-clickhouse
58fc49df66
Update version_date.tsv after v22.3.10.22-lts
2022-08-03 14:53:22 +00:00
Mikhail f. Shiryaev
c05526beef
Merge remote-tracking branch 'origin/master' into auto/v22.7.2.15-stable
2022-08-03 12:04:34 +02:00
Mikhail f. Shiryaev
2ca9df9b22
Merge pull request #39421 from ClickHouse/github-helper
...
GitHub helper
2022-08-03 12:04:03 +02:00
robot-clickhouse
da655fbfcf
Update version_date.tsv and changelogs after v22.7.2.15-stable
2022-08-03 09:57:02 +00:00
Yakov Olkhovskiy
5a5d028154
remove global variables
2022-08-03 03:34:51 -04:00
Alexey Milovidov
80d2685ab7
Merge pull request #39814 from qianmoQ/fix-cte
...
Support cte statement for antlr4 syntax file #39810
2022-08-03 09:10:08 +03:00
Yakov Olkhovskiy
504180d7d6
stat is different for macos
2022-08-02 15:39:11 -04:00
Alexander Tokmakov
82b50e79cf
Merge branch 'master' into tsan_clang_15
2022-08-02 13:00:55 +03:00
qianmoQ
094b28b869
Support cte statement for antlr4 syntax file #39810
2022-08-02 17:17:08 +08:00
Alexander Tokmakov
ecf7ce1f74
Merge branch 'master' into zookeeper_client_fault_injection
2022-08-01 20:49:01 +02:00
Yakov Olkhovskiy
e65cef79ad
some refactoring
2022-08-01 14:32:32 -04:00
Yakov Olkhovskiy
8820774fe3
do not rename original file - just remove
2022-08-01 13:39:26 -04:00
Alexander Tokmakov
0d68b1c67f
fix build with clang-15
2022-08-01 18:00:54 +02:00
Yakov Olkhovskiy
2a074288f0
style fix
2022-08-01 11:06:54 -04:00
Yakov Olkhovskiy
c79893f4ef
remove call to sh, use random names suffix for temporaries
2022-08-01 10:58:08 -04:00
Kruglov Pavel
7bbc6c7292
Update aspell-dict.txt
2022-08-01 13:00:44 +02:00
Yakov Olkhovskiy
3aeb525036
style fix
2022-08-01 01:45:02 -04:00
Yakov Olkhovskiy
7a2d969850
fix clang tidy unused return
2022-08-01 01:20:40 -04:00
Yakov Olkhovskiy
c534bdd42f
clang tidy treats call to system as security issue - replace with fork/exec
2022-08-01 01:13:50 -04:00
Yakov Olkhovskiy
3731a415e6
run resulting executable with execvp
2022-07-31 20:07:33 -04:00
Azat Khuzhin
498c8b3c52
Fix clang-tidy in utils/examples
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-29 11:36:51 +03:00
Azat Khuzhin
83dfbe3b9a
Fix building keeper-data-dumper
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-29 11:36:51 +03:00
Alexey Milovidov
69e8e56072
Merge pull request #39578 from ClickHouse/fix-self-executable-leak
...
free compression and decompression contexts
2022-07-26 07:47:32 +03:00
Mikhail f. Shiryaev
c150fe6f0d
Fix possible wrong FROM_REF by using merge-base commit
2022-07-25 21:56:20 +02:00
robot-clickhouse
f04ad30f0d
Update version_date.tsv and changelogs after v22.6.4.35-stable
2022-07-25 19:25:27 +00:00
Yakov Olkhovskiy
250f19378d
free compression and decompression contexts
2022-07-25 15:22:48 -04:00
Yakov Olkhovskiy
d0f5dcad25
Merge pull request #38936 from ClickHouse/cmake-self-extracting-executable
...
Build self-extracting-executable utils
2022-07-25 08:13:25 -04:00
Yakov Olkhovskiy
a85818f654
some refactoring
2022-07-24 21:13:00 -04:00
Mikhail f. Shiryaev
3e0db34ed9
Merge pull request #39390 from ClickHouse/paint-it-black
...
Automatic fixes for black formatting for domestic repo PRs
2022-07-22 17:19:00 +02:00
Robert Schulze
99579ab440
Merge pull request #39364 from ClickHouse/stringref-to-string_view
...
Even less usage of StringRef
2022-07-22 09:30:49 +02:00
Alexey Milovidov
63d37fd440
Merge pull request #39475 from ClickHouse/auto/v22.7.1.2484-stable
...
Update version_date.tsv and changelogs after v22.7.1.2484-stable
2022-07-22 06:40:40 +03:00
robot-clickhouse
e6ff5744e0
Update version_date.tsv and changelogs after v22.7.1.2484-stable
2022-07-21 17:47:00 +00:00
Yakov Olkhovskiy
5071295a6a
mount.h for OS_FREEBSD
2022-07-21 11:43:00 -04:00
Mikhail f. Shiryaev
f60dcc30fb
Push automatic fix for black format for PRs
2022-07-21 17:01:42 +02:00
Yakov Olkhovskiy
c8ea6783dc
clang tidy suggestions
2022-07-21 10:27:56 -04:00
Yakov Olkhovskiy
15496c63b9
__APPLE__->OS_DARWIN, __FreeBSD__->OS_FREEBSD
2022-07-21 10:14:53 -04:00
Mikhail f. Shiryaev
dd2a0ed755
Improve speed significantly by using cached users and reuse repos
2022-07-21 15:46:39 +02:00
Alexey Milovidov
ad77b84b82
Update changelog
2022-07-21 13:32:34 +02:00
Mikhail f. Shiryaev
aef212d552
Add ref commits to the chengelog headers
2022-07-21 09:00:31 +02:00
Yakov Olkhovskiy
bdd11f671d
different path of endian.h for FreeBSD
2022-07-21 02:08:07 -04:00
Yakov Olkhovskiy
e7438cc433
Merge branch 'master' into cmake-self-extracting-executable
2022-07-21 00:25:08 -04:00
Yakov Olkhovskiy
29ed2083d1
endian.h in different path on __APPLE__ and __FreeBSD__
2022-07-21 00:20:23 -04:00
Yakov Olkhovskiy
b766552481
add native build for cross-compilation
2022-07-20 23:09:05 -04:00
Mikhail f. Shiryaev
59501150d0
Use github_helper in changelog, use a robot token in CI
2022-07-20 17:28:46 +02:00
Robert Schulze
81ef1099cc
Even less usage of StringRef
...
--> see #39300
2022-07-19 07:01:06 +00:00
Jordi Villar
c63512d255
Use CH custom platform macro for OS Darwin
2022-07-18 09:59:02 +02:00
Jordi Villar
d86abba2c6
Fix macosx compilation due to endian.h
2022-07-17 14:58:27 +02:00
Yakov Olkhovskiy
e5f165d909
Merge branch 'master' into cmake-self-extracting-executable
2022-07-13 16:09:18 -04:00
Yakov Olkhovskiy
2079699f75
Merge pull request #39065 from ClickHouse/utils-self-extracting-decompressor
...
Parameter --decompressor added to utils/self-extracting-executable/compressor
2022-07-13 01:50:12 -04:00
Alexey Milovidov
e2684447b4
Merge pull request #38437 from ClickHouse/compatible-benchmark
...
Compatible and reproducible DBMS benchmark
2022-07-12 21:15:53 +03:00
Yakov Olkhovskiy
7c437c3f9b
some optimizations
2022-07-12 09:56:09 -04:00
Alexey Milovidov
87ebf51cdc
Fix style
2022-07-11 22:26:50 +02:00
Robert Schulze
c2e4fde0e2
Link only necessessary stuff for self-extracting-executable
2022-07-11 19:48:49 +02:00
Robert Schulze
1a7727a254
Prefix overridden add_executable() command with "clickhouse_"
...
A simple HelloWorld program with zero includes except iostream triggers
a build of ca. 2000 source files. The reason is that ClickHouse's
top-level CMakeLists.txt overrides "add_executable()" to link all
binaries against "clickhouse_new_delete". This links against
"clickhouse_common_io", which in turn has lots of 3rd party library
dependencies ... Without linking "clickhouse_new_delete", the number of
compiled files for "HelloWorld" goes down to ca. 70.
As an example, the self-extracting-executable needs none of its current
dependencies but other programs may also benefit.
In order to restore access to the original "add_executable()", the
overriding version is now prefixed. There is precedence for a
"clickhouse_" prefix (as opposed to "ch_"), for example
"clickhouse_split_debug_symbols". In general prefixing makes sense also
because overriding CMake commands relies on undocumented behavior and is
considered not-so-great practice (*).
(*) https://crascit.com/2018/09/14/do-not-redefine-cmake-commands/
2022-07-11 19:36:18 +02:00
Yakov Olkhovskiy
3432768dc3
Parameter --decompressor added, architecture-agnostic metadata, bugs fixed, some improvements
2022-07-09 16:05:12 -04:00
Azat Khuzhin
53d019a94b
check-style: improve ZooKeeper path check for Replicated.*MergeTree tables
...
- detech all Replicated.*MergeTree tables
- allow default_path_test/uuid in zookeeper path
- improve pattern for filtering tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-08 13:19:24 +03:00
robot-clickhouse
7cef35da70
Update version_date.tsv after v22.4.6.53-stable
2022-07-07 20:05:14 +00:00
Yakov Olkhovskiy
c6db15458a
build utils/self-extracting-executable/compressor whenever we want to build compressed binary
2022-07-06 20:40:41 -04:00
Robert Schulze
ee19c218f3
Teach ClickHouse's spellcheck "ClickHouse's"
2022-07-05 14:24:18 +02:00