Commit Graph

174 Commits

Author SHA1 Message Date
fredwang 52a24d88bc Merge 'cherry-pick-mr-25061-4' into 'cnch-dev'
fix(clickhousech@m-5311553086): [cp] Only initialize minidump once to avoid minidump storm

See merge request: !25075
2024-10-11 04:31:59 +00:00
fredwang 5304ce915c Merge 'cp_paimon' into 'cnch-dev'
feat(clickhousech@m-4670741761): Support paimon (4, cherry-pick)

See merge request: !23906
# Conflicts:
#	contrib/java-extensions
#	src/Interpreters/InterpreterSystemQuery.cpp
2024-10-02 05:45:02 +00:00
fredwang 59ebcaeb14 Merge 'cp_paimon' into 'cnch-dev'
feat(clickhousech@m-4670741761): Support paimon (1-3, Cherry-pick)

See merge request: !23742
# Conflicts:
#	build_bin.sh
#	build_bin_tob.sh
#	contrib/java-extensions
#	programs/CMakeLists.txt
#	src/CMakeLists.txt
#	src/Common/ErrorCodes.cpp
#	src/Interpreters/DistributedStages/PlanSegmentSplitter.cpp
#	src/Storages/DataLakes/StorageCnchLas.cpp
#	src/Storages/Hive/StorageCnchHive.cpp
2024-10-02 05:27:19 +00:00
fredwang c54b3cd263 Merge 'cherry-pick-log-query-id' into 'cnch-dev'
fix(clickhousech@m-4770124141): [cp] BaseDaemon get query id from thread_status to enable log long query_id

See merge request: !23696
2024-09-27 07:43:48 +00:00
fredwang 47af6a390f Merge 'support_timezone_dev' into 'cnch-dev'
feat(clickhousech@m-4692103199): [TO CNCH-dev] Support session level timezone

See merge request: !23632
2024-09-27 07:43:46 +00:00
fredwang f2c8467bbc Merge 'cherry-pick-jeprof-fix-dev' into 'cnch-dev'
fix(clickhousech@m-3348242625): [cp] Still use mmap when enable_jeprof to avoid TLB shootdown in k8s

See merge request: https://code.byted.org/dp/ClickHouse/merge_requests/21728
# Conflicts:
#	src/Common/ArrayCache.h
2024-07-12 05:45:40 +00:00
Dao 52cbe1c4fa Merge branch 'cnch_ck23p3_alignment_4jan' into 'cnch-ce-merge'
feat(clickhousech@m-16749763): Cnch ck23p3 alignment

See merge request dp/ClickHouse!18366
2024-01-19 16:10:28 +08:00
Dao a79fee5b40 Merge branch 'fix-clang13' into 'cnch-ce-merge'
fix(clickhousech@m-15952761): Fix clang13

See merge request dp/ClickHouse!16017
# Conflicts:
#	base/daemon/BaseDaemon.cpp
#	docker/packager/binary/Dockerfile
2023-10-31 15:07:41 +08:00
Dao 7b37969e0c Merge branch 'cherry-pick-491cb01f-3' into 'cnch-ce-merge'
fix(clickhousech@m-15123699): [cp] Leverage SignalListener's log to avoid deadlock of Poco::Logger

See merge request dp/ClickHouse!15886
2023-09-26 20:08:47 +08:00
ByConityBot 6aafd7144e Merge branch 'replace-logical-error-cnch2' into 'cnch-ce-merge'
feat(clickhousech@m-13603321): [cp] add a new config disable_abort_on_logical_error

See merge request dp/ClickHouse!14640
2023-08-31 18:22:04 +08:00
benyucong c30c05b3eb Merge branch 'cherry-pick-jemalloc-2.0' into 'cnch-ce-merge'
feat(clickhousech@m-12623283): Jemalloc and jeprof related features

See merge request dp/ClickHouse!13193
# Conflicts:
#	contrib/jemalloc-cmake/CMakeLists.txt
#	src/Parsers/ASTSystemQuery.cpp
#	src/Parsers/ASTSystemQuery.h
2023-07-03 17:21:04 +08:00
Dao 57ff50866c add script to build debian and rpm package 2023-02-24 16:08:26 +08:00
minhthucdao b37e89e1a9
Revert "add script to build debian and rpm package" 2023-02-22 16:13:49 +08:00
Dao 829f1afc7e add script to build debian and rpm package 2023-02-21 19:31:32 +08:00
ducle.canh 27964cae1b remove empty line 2023-01-06 18:41:25 +08:00
ducle.canh 4e7dd0798d update copyright and license 2023-01-06 18:32:51 +08:00
ducle.canh 1bcc5a03ed update copyright and license 2023-01-06 18:27:24 +08:00
ducle.canh 2e4bf94a21 strip all trailing spaces 2023-01-06 14:28:46 +08:00
ducle.canh 2e549a3c4f update copyright and license 2023-01-06 12:03:41 +08:00
ducle.canh b8c76c1aab initial commit 2023-01-05 14:19:18 +08:00
Maksim Kita a276b6d426 Merge ext into common 2021-06-16 23:28:41 +03:00
kssenii 3366dec339 Final fixes 2021-05-29 00:34:44 +03:00
kssenii 1fec834097 Fixes 2021-05-27 15:42:46 +03:00
kssenii 7f1fcc0d41 Return list fds with Poco, more canonical 2021-05-23 10:56:13 +03:00
kssenii b7d96875a3 Update base/* 2021-05-22 21:24:13 +03:00
alesapin 2f9236abad Something working 2021-05-12 16:04:34 +03:00
Alexey Milovidov 8d4e88703a A bunch of changes for PVS-Studio 2021-05-08 19:11:50 +03:00
Denis Glazachev bcd2380972 Fix vanilla GCC compilation in macOS 2021-04-09 04:28:24 +04:00
Maksim Kita 79490e35d5 Merge pull request #20184 from nvartolomei/nv/macos-shared
Fix macOS shared lib build
2021-03-29 18:25:43 +03:00
alexey-milovidov e8583ddfe2
Update BaseDaemon.cpp 2021-02-20 09:10:15 +03:00
Azat Khuzhin 7474a7e3ca Increase buffer for uncaught exception / std::terminate
Use PIPE_BUF over some magic number 1024 in terminate_handler, since
according to pipe(7):

    PIPE_BUF
           POSIX.1  says  that  write(2)s of less than PIPE_BUF bytes must be atomic

Also note that 1024, is too small, especially for C++ stacktraces (and
especially for debug builds, that contains lots of non-inlined helpers
for various ptrs).
2021-02-19 22:45:06 +03:00
Ivan 414f470c79
Make Poco HTTP Server zero-copy again (#19516)
* Refactoring: part 1

* Refactoring: part 2

* Handle request using ReadBuffer interface

* Struggles with ReadBuffer's

* Fix URI parsing

* Implement parsing of multipart/form-data

* Check HTTP_LENGTH_REQUIRED before eof() or will hang

* Fix HTTPChunkedReadBuffer

* Fix build and style

* Fix test

* Resist double-eof

* Fix arcadian build
2021-02-19 15:51:26 +03:00
alexey-milovidov bde4da0ff0
Merge pull request #20465 from azat/write-abnormal-server-termination-fixes
Fix abnormal server terminations due to write failures
2021-02-15 00:05:48 +03:00
Azat Khuzhin 06e8065ee6 Add missing sync of underlying files 2021-02-13 13:19:51 +03:00
Alexey Milovidov edd5844bed Print stack trace on SIGTRAP 2021-02-13 00:29:47 +03:00
alexey-milovidov 4e32dbd024
Merge pull request #19317 from abyss7/dwarf-folly
Print inline frames for fatal stacktraces
2021-02-12 02:38:50 +03:00
Ivan be831d09f7
Update Pytest check (#18972)
* [WIP]

* Update skip-list

* Update ci_config.json

* Do not sync inserts for test

* Fix more tests

* Fix another test

* Enable one more test

* More fixed tests

* More test fixes

* Do not absolutize server path for now

* More test fixes

* Unset CLICKHOUSE_LOG_COMMENT where necessary

* Remove debugging set -e

* Fix more tests

* Fix test reference

* Fix style check
2021-02-10 21:09:13 +03:00
Ivan Lezhankin a287443438 Merge remote-tracking branch 'upstream/master' into dwarf-folly 2021-02-08 18:36:41 +03:00
Nicolae Vartolomei 479b45d772 Fix linker flags for shared linking on macOS
This combination now works: `-DUSE_STATIC_LIBRARIES=0 -DSPLIT_SHARED_LIBRARIES=1`.

Without `SPLIT_SHARED_LIBRARIES` it is still failing.
2021-02-07 14:58:52 +00:00
Alexey Milovidov 12485eee6b Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
Ivan 5dfe1c98e2
Update BaseDaemon.cpp 2021-01-27 16:25:46 +03:00
Ivan Lezhankin 3fb50dfa1b Initial implementation of inline frames 2021-01-19 15:34:27 +03:00
Alexander Tokmakov ff6c3c75c2 add protection from unsafe allocations 2021-01-12 18:41:24 +03:00
alexey-milovidov 4a54916733
Merge pull request #18858 from ClickHouse/better-strsignal
Import strsignal from Musl
2021-01-08 22:26:00 +03:00
Alexey Milovidov 10ea06edad Import strsignal from Musl 2021-01-08 08:09:30 +03:00
alexey-milovidov 98bd7fb653
Merge branch 'master' into better-kill 2021-01-08 07:27:00 +03:00
Alexey Milovidov 32d8785a26 Better kill #18847 2021-01-07 21:36:38 +03:00
Alexey Milovidov 6f481d7512 Add integrity checks for ClickHouse binary 2021-01-07 05:56:57 +03:00
Azat Khuzhin d7fb61dce4 Use sigdescr_np() over sys_siglist (fixes glibc 2.32+ unbundled build)
glibc 2.32 [1]:

- The functions sigabbrev_np and sigdescr_np have been added
- They should be used instead of sys_siglist or sys_sigabbrev and they
  are both thread and async-signal safe. These functions are GNU
  extensions.

  [1]: https://sourceware.org/pipermail/libc-announce/2020/000029.html
2021-01-06 00:17:25 +03:00
Alexey Milovidov 98687ff8f4 Merge branch 'master' into harmful 2020-12-31 02:25:28 +03:00