Commit Graph

90626 Commits

Author SHA1 Message Date
Robert Schulze
c39f4a862c
Retain .clickhouse.hash when stripping 2022-06-14 18:14:35 +00:00
Robert Schulze
bc46cef63c
Minor follow-up
- change ELF section name to ".clickhouse.hash" (lowercase seems
  standard)

- more expressive/concise integrity check messages at startup
2022-06-14 08:52:13 +00:00
Robert Schulze
e25fbb9292
Log official/non-official build and integrated/separate debug symbols
The goal is to find out why some of the binaries with official name
(BuilderDebRelease, BuilderBinRelease) produced by CI still contain no
hash section.

(also, strip and objcopy are mandatory tools and we don't need to check
for their existence at this point)
2022-06-13 12:34:09 +00:00
Robert Schulze
bc6f30fd40
Move binary hash to ELF section ".ClickHouse.hash" 2022-06-13 08:46:23 +00:00
Robert Schulze
b27e6cfed2
Strip less aggressively to make the embedded hash survive
- It was noticed that in (*), the crashstack says "There is no
  information about the reference checksum."

- The binaries are pulled via docker hub and upon inspection they indeed
  lack the hash embedded as ELF section ".note.ClickHouse.hash" in the
  clickhouse binary. This is weird because docker hub images are
  "official" builds which should trigger the hash embedding.

- Turns out that the docker hub binaries are also stripped which was too
  aggressive. We now no longer remove sections ".comment" and ".note"
  which are anyways only 140 bytes in size, i.e. binary size still goes
  down (on my stystem) from 2.1 GB to 0.47 + 0.40 GB binary + dbg info.

(*) https://playground.lodthe.me/ba75d494-95d1-4ff6-a0ad-60c138636c9b
2022-06-10 18:33:55 +02:00
alesapin
b368026d51
Merge pull request #37977 from ClickHouse/qoega-patch-3
Remove inconsistencies between RU and EN version of clickhouse-keeper…
2022-06-10 15:21:49 +02:00
Kseniia Sumarokova
0ae2168fb6
Merge pull request #36328 from bigo-sg/async_hdfs_read_buffer
Apply read_method 'threadpool' for StorageHive
2022-06-10 15:04:21 +02:00
Kseniia Sumarokova
798fc58673
Merge pull request #37952 from ClickHouse/kssenii-patch-4
Update check-table.md
2022-06-10 14:59:52 +02:00
Robert Schulze
5f5732a2c4
Merge pull request #37969 from ClickHouse/consistent-macro-usage
More consistent use of platform macros
2022-06-10 14:10:01 +02:00
Yakov Olkhovskiy
5a59957f8b
Merge pull request #35775 from FArthur-cmd/add_self_exctr_exec
Add self extracting executable
2022-06-10 07:59:21 -04:00
Ilya Yatsishin
b51d77d1fa
Remove inconsistencies between RU and EN version of clickhouse-keeper docs 2022-06-10 13:37:13 +02:00
alesapin
36924cb47d
Merge pull request #37957 from ClickHouse/tavplubix-patch-1
Fix flaky `test_parts_delete_zookeeper`
2022-06-10 11:47:55 +02:00
Kseniia Sumarokova
508676ab4e
Merge pull request #37804 from ClickHouse/metadata_storage
Metadata storage abstraction for Disks
2022-06-10 11:43:28 +02:00
Robert Schulze
1a0b5f33b3
More consistent use of platform macros
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.

__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00
Yakov Olkhovskiy
4787ead19d
typo 2022-06-09 18:34:39 -04:00
Yakov Olkhovskiy
349f1b140a
Merge pull request #37850 from bharatnc/ncb/build-options-ssl-version
expose boring ssl version info in the system.build_options table
2022-06-09 18:26:02 -04:00
Alexander Tokmakov
7c30d9b5d3
Merge pull request #37839 from ClickHouse/try_fix_37664
Do not count covered unexpected parts on sanity check
2022-06-09 18:22:37 +03:00
Alexander Tokmakov
780f7c87c7
Merge pull request #36113 from ClickHouse/remove-useless-code-2
Remove useless code in ReplicatedMergeTreeRestartingThread
2022-06-09 17:56:28 +03:00
alesapin
99b78a7cb7 Fix stupid buge 2022-06-09 16:53:55 +02:00
Alexander Tokmakov
68a0950086
Update test.py 2022-06-09 17:53:52 +03:00
Kruglov Pavel
e8397fedb0
Merge pull request #37956 from ClickHouse/Avogar-patch-5
Fix using INSERT INTO ... FORMAT ... SETTINGS ... in docs
2022-06-09 16:32:20 +02:00
Maksim Kita
aa5293da5d
Merge pull request #37947 from kitaisreal/dictionaries-update-field-condition-fix
Dictionaries custom query with update field fix
2022-06-09 16:31:07 +02:00
Kruglov Pavel
d49dcc2b58
Fix using INSERT INTO ... FORMAT ... SETTINGS ... in docs 2022-06-09 16:16:43 +02:00
Kseniia Sumarokova
daec3d1c87
Update check-table.md 2022-06-09 14:58:37 +02:00
Vladimir Chebotarev
3b344a3d26
Got rid of S3AuthSigner (#37769) 2022-06-09 14:44:50 +02:00
Ilya Yatsishin
d6427f56f3
Opentracing minimal changes for processors (#37837) 2022-06-09 14:43:50 +02:00
Mikhail f. Shiryaev
203de0c352
Merge pull request #37790 from vdimir/doc-aspell
Spellcheck for the docs
2022-06-09 12:52:31 +02:00
Kruglov Pavel
de41f45f27
Merge pull request #37916 from den-crane/patch-14
Doc. Note about Replacing rules for rows with the same ver
2022-06-09 12:20:18 +02:00
Kseniia Sumarokova
fac824523d
Merge pull request #37924 from ClickHouse/tavplubix-patch-1
Disable flaky tests with MaterializedPostgreSQL
2022-06-09 12:03:05 +02:00
Maksim Kita
a9d568c63c Dictionaries custom query with update field fix 2022-06-09 11:51:07 +02:00
Mikhail f. Shiryaev
62f60c1462
Merge branch 'master' into doc-aspell 2022-06-09 11:01:25 +02:00
Denny Crane
f3baf4c2bb ping CI 2022-06-08 22:49:43 -04:00
taiyang-li
9fd9ff66bd remove some test code 2022-06-09 09:55:50 +08:00
alesapin
0cd82080b9 Fix stupid bug 2022-06-09 00:02:43 +02:00
Maksim Kita
0c1211eb61
Merge pull request #37930 from kitaisreal/function-dict-get-check-arguments-size
Function dictGet check arguments size
2022-06-08 23:25:14 +02:00
Maksim Kita
26270dad06
Merge pull request #37929 from kitaisreal/executable-user-defined-functions-parameters-documentation
ExecutableUserDefinedFunctions added parameters documentation
2022-06-08 23:23:58 +02:00
Maksim Kita
2ac5f5bc60
Merge pull request #37761 from kitaisreal/internal-cast-to-ipv4-ipv6-default-on-conversion-error-fix
Fix setting cast_ipv4_ipv6_default_on_conversion_error for internal cast
2022-06-08 23:22:16 +02:00
mergify[bot]
15bcf66763
Merge branch 'master' into add_self_exctr_exec 2022-06-08 20:43:17 +00:00
alesapin
5c3846f421 Merge branch 'metadata_storage' of github.com:ClickHouse/ClickHouse into metadata_storage 2022-06-08 22:33:32 +02:00
alesapin
84ab147155 Merge branch 'master' into metadata_storage 2022-06-08 22:33:12 +02:00
Maksim Kita
b7152fa2bf Function dictGet check arguments size 2022-06-08 17:19:30 +02:00
Maksim Kita
ec7b99e564 ExecutableUserDefinedFunctions added parameters documentation 2022-06-08 16:59:41 +02:00
Maksim Kita
929ab82024
Merge pull request #37927 from kitaisreal/procfs-metrics-provider-fix-typo
ProcfsMetricsProvider fix typo
2022-06-08 16:30:55 +02:00
Maksim Kita
a38c527e32 ProcfsMetricsProvider fix typo 2022-06-08 16:30:16 +02:00
Mikhail f. Shiryaev
2cfaa75278
Merge pull request #37925 from ClickHouse/docs-docker
Docs docker
2022-06-08 15:31:05 +02:00
Antonio Andelic
628d5b2210
Merge pull request #37915 from jamesmaidment/patch-keeper-docker-ownership
Fix keeper coordination dir ownership
2022-06-08 15:26:11 +02:00
Mikhail f. Shiryaev
145c916e65
Update pylint 2022-06-08 15:15:13 +02:00
alesapin
8aea4a698c Fix style-check 2022-06-08 15:07:11 +02:00
alesapin
378f9246ca Rename one method 2022-06-08 14:57:10 +02:00
alesapin
56a57e649f First try new interface 2022-06-08 14:56:51 +02:00