Commit Graph

72 Commits

Author SHA1 Message Date
wyb d6088ff298
[Enhancement] Bump librdkafka to 2.11.0 for kafka 4.0 (#61698)
Signed-off-by: wyb <wybb86@gmail.com>
2025-08-08 06:31:54 +00:00
Kevin Cai 1e661f5859
[Tool] update thirdparty tar and script (#61500)
all upper cases to CMAKE ON/OFF switch
update thirdparty tarball
less verbosity of wget downloading archives
less verbosity on aws cpp sdk unzip
less verbosity on extracting archives

Signed-off-by: Kevin Cai <kevin.cai@celerdata.com>
2025-08-01 15:07:20 +08:00
Kevin Cai 5caf273918
[Enhancement] ugprade zstd to v1.5.7 (#56302)
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
2025-07-31 21:25:15 +08:00
Murphy d9b23cffb4
[Enhancement] function hour_from_unixtime (#60331)
Signed-off-by: Murphy <mofei@starrocks.com>
2025-07-10 16:16:51 +08:00
Murphy 46804c47bf
[Enhancement] faster from_unixtime (#60174) 2025-07-09 17:04:12 +08:00
Rohit Satardekar d96b52103a
[Enhancement] bump up breakpad to 2024.02.16 to fix crash in dump_syms (#60005)
we are using and older version of dump_syms that doesn’t understand the .relr.dyn section

Fixes #60004

update breakpad to version breakpad-2024.02.16

$ bash thirdparty/minidump/gen_minidump_symbols.sh
starrocks_be'size (2153mb) reduced to (556mb)
symbol file is at /home/ubuntu/starrocks/output/be/symbols/starrocks_be/AC7FAB7F8B5BF82100000000000000000

Signed-off-by: Rohit Satardekar <rohitrs1983@gmail.com>
2025-06-22 07:48:33 +08:00
wyb f2752d861e
[Enhancement] Add azure cpp sdk (#59016)
Signed-off-by: wyb <wybb86@gmail.com>
2025-05-16 11:15:41 +00:00
stdpain 4f389a12c3
[Enhancement] Support for dynamic linking to support switching jemalloc with debug option (#57970)
Signed-off-by: stdpain <drfeng08@gmail.com>
Signed-off-by: stdpain <34912776+stdpain@users.noreply.github.com>
2025-04-16 10:45:02 +08:00
wyb 97464b08fe
[Enhancement] Bump avro to 1.12.0 and add avro cpp library (#57984)
Signed-off-by: wyb <wybb86@gmail.com>
2025-04-15 13:39:26 +08:00
zombee0 48cc6fc538
[BugFix]disable chunked upload in aws sdk while we have support it in poco (#55854)
Signed-off-by: zombee0 <ewang2027@gmail.com>
2025-02-21 18:48:24 +08:00
before-Sunrise e88bb85360
[Enhancement] Optimize code in arm (#55072)
## Why I'm doing:
arm is slower than x86 in some cases

## What I'm doing:
1. vectorize rf's insert_hash using Neon intrinsics
2. streamvbyte's cmakelist is wrong, which cause performance downgrade in arm because vectorization cannot work properly
3. arm's int128_mul_overflow is super slow becase of divide operation,  __builtin_mul_overflow(int128_t a, int128_t b, int128_t* c) is fast enough when compile with gcc. But gcc's __builtin_mul_overflow is at least 5 times faster then clang in arm, we already reported it to the community: https://github.com/llvm/llvm-project/issues/123262. So we still use gcc as default compiler and use __builtin_mul_overflow to replace original int128_mul_overflow implementation
4. arm's cast int128 to double  is super slow in arm with gcc because the bad implementation of __floattidf, clang runtime-rt's implementation is 20 times faster then gcc, so I used clang compiler-rt's implementation to replace gcc's version


after this pr, arm is faster then gcc in  the most of cases.

```
| Query   | arm-opt | x86 |
|---------|--------|--------|
| QUERY01 | 36     | 61     |
| QUERY02 | 39     | 62     |
| QUERY14 | 1510   | 1514   |
| QUERY15 | 1407   | 1496   |
| QUERY17 | 21     | 88     |
| QUERY20 | 151    | 279    |
| QUERY21 | 1526   | 1529   |
| QUERY24 | 1399   | 1504   |
| QUERY26 | 32     | 122    |
| QUERY27 | 1493   | 1519   |
| QUERY90 | 3399   | 4030   |
| QUERY97 | 3859   | 4776   |
| QUERY98 | 2763   | 3208   |
| QUERY99 | 868    | 1259   |
```

Signed-off-by: before-Sunrise <unclejyj@gmail.com>
2025-01-27 11:18:10 +08:00
Kevin Cai f0568fdfd0
[Enhancement] patching flatbuffers CMakeLists.txt (#54579)
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
2025-01-02 16:07:32 +08:00
stdpain 681be8b83f
[Enhancement] dump LWP when BE crash (#54089)
Signed-off-by: stdpain <drfeng08@gmail.com>
2024-12-20 10:08:15 +08:00
zombee0 c6913e2f5f
[Enhancement]patch poco for keep-alive (#52599)
Signed-off-by: zombee0 <ewang2027@gmail.com>
2024-11-06 15:00:44 +08:00
Kevin Cai 5db79c8c68
[Tool] update toolchain to 20240831 (#50517)
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Signed-off-by: stdpain <drfeng08@gmail.com>
Co-authored-by: stdpain <drfeng08@gmail.com>
2024-09-09 20:49:20 +08:00
zombee0 12cae590bc
[BugFix]be compatible with content length is zero (#50782)
Signed-off-by: zombee0 <ewang2027@gmail.com>
2024-09-06 16:37:08 +08:00
zombee0 33f4361965
[Enhancement]patch poco for zero-copy (#50748)
Signed-off-by: zombee0 <ewang2027@gmail.com>
2024-09-05 19:47:37 +08:00
stdpain 2d67753fbb
[BugFix] Fix compile error in GCC-14 (#50577)
Signed-off-by: stdpain <drfeng08@gmail.com>
2024-09-03 15:16:39 +08:00
zombee0 43a09d1c56
[Tool] introduce 3rd-party lib poco (#50023)
Signed-off-by: zombee0 <ewang2027@gmail.com>
2024-08-21 10:06:13 +08:00
trueeyu 167d87ac04
[BugFix] WARNING and ERROR log will output multi times (#50019)
Signed-off-by: trueeyu <lxhhust350@qq.com>
2024-08-20 21:42:01 +08:00
Kevin Cai 39c8adf73b
[Tool] make starrocks compilable on gcc12/gcc13/clang18 (#49351)
fix build failure for clang-18+gcc13
fix thrift definition, define the message before refering it
patching rocksdb to fix the forward declaration of incomplete type

Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
2024-08-04 21:49:21 -07:00
trueeyu 7e17c3a45f
[Enhancement] Add interface failure_handler_after_output_log to glog (#49065)
Signed-off-by: trueeyu <lxhhust350@qq.com>
2024-07-29 19:55:48 +08:00
Kevin Cai 47e85eeef9
[Enhancement] Staros v3.3 rc3 and brpc glog update (#48949)
Signed-off-by: stdpain <drfeng08@gmail.com>
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Co-authored-by: stdpain <drfeng08@gmail.com>
2024-07-28 22:58:52 -07:00
trueeyu 2d4cf3ad49
[Enhancement] Mallctl of jemalloc support setting the memory of retain pages to not dump (#48796)
Signed-off-by: trueeyu <lxhhust350@qq.com>
2024-07-24 15:40:33 +08:00
Letian Jiang 3beb50d9d7
[Enhancement] Bump arrow to 16.1.0 (#46966)
Signed-off-by: Letian Jiang <letian.jiang@outlook.com>
2024-06-20 10:31:04 +08:00
zihe.liu 92e6bf6d53
[Enhancement] Optimize bitshuffle and crc for ARM (#44607)
Signed-off-by: zihe.liu <ziheliu1024@gmail.com>
2024-04-26 15:34:48 +08:00
Kevin Cai faddb6c835
[Enhancement] Upgrade staros v3.3 rc0 (#43887)
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Co-authored-by: silverbullet233 <3675229+silverbullet233@users.noreply.github.com>
2024-04-12 11:33:59 +08:00
stdpain 9f9991d135
[Enhancement] Adjusting the brpc abalist GC trigger strategy (#39285)
Signed-off-by: stdpain <drfeng08@gmail.com>
2024-01-18 11:38:08 +00:00
trueeyu b328767e3c
[Enhancement] Remove the size assert of je_nallocx (#39293)
Signed-off-by: trueeyu <lxhhust350@qq.com>
2024-01-18 14:05:35 +08:00
stdpain d331494bb0
[BugFix] Fix rpc transmit Resource temporarily unavailable error (#37962)
Signed-off-by: stdpain <drfeng08@gmail.com>
2024-01-05 15:20:38 +08:00
dujl 0a2f08d1b4
[Feature] compile the third-party packages using pic mode (#38169)
Why I'm doing:
Some third-party packages are not compiled in pic mode result in it can not be used in shared library.

What I'm doing:
compile these package using pic mode

Signed-off-by: dujunling <dujunling@bytedance.com>
2024-01-02 19:15:10 +08:00
Kevin Cai 025921a93d
[Enhancement] sasl enable kerberos support (#32483)
Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Co-authored-by: Your Name <you@example.com>
2023-10-18 14:56:53 +08:00
ricky 74f3311fa9
[BugFix] optional map key for parquet (#28296)
Fixes #32772
If the parquet file is generated by hive, the key of map may be optional, which is not allowed by arrow.
This PR adds the patch to arrow to remove the limit.
2023-10-17 17:26:53 +08:00
chen9t 88d4eaaf2a
[Enhancement] Upgrade pulsar client to 3.3.0 (#30684)
Fixes #29540
2023-09-26 23:28:54 -07:00
Zhuhe Fang c05662da49
[Enhancement] patch s2geometry to support c++20 (#26434)
Signed-off-by: Zhuhe Fang <fzhedu@gmail.com>
2023-07-07 14:41:47 +08:00
Letian Jiang 92aab13345
[BugFix] Fix arrow parquet exception handling (#26253)
Signed-off-by: Letian Jiang <letian.jiang@outlook.com>
2023-07-03 14:11:40 +08:00
Letian Jiang 2abf5e8a19
[Revert] Revert arrow patch of exception handling (#25851)
The patch on arrow introduced an unexpected error. Revert for now.

Signed-off-by: Letian Jiang <letian.jiang@outlook.com>
2023-06-25 12:06:46 +00:00
Letian Jiang f610fdfd59
[BugFix] Fix arrow parquet exception handling (#25621)
Fixes #23606, where memory leaks are introduced by
`_chunk_writer->release()`

The modification on Arrow is to make sure
`RowGroupSerializer::column_writers_` is cleaned up even if exception
throws.

You may refer https://github.com/apache/arrow/pull/35520 for more
details.

Signed-off-by: Letian Jiang <letian.jiang@outlook.com>
2023-06-20 06:50:54 -07:00
Smith Cruise 9d06e783ac
[BugFix] Patch AWS s3 sdk to avoid InstanceProfile deadlock (#25544)
In https://github.com/StarRocks/starrocks/pull/24129, we upgrade aws SDK
to 1.10.36, but it introduces InstanceProfile deadlock bug, which will
occur BE query timeout when the user is using InstanceProfile.

AWS report this bug in: https://github.com/aws/aws-sdk-cpp/issues/2251

So we just patch
5d2aea0f2f
instead of upgrading s3 sdk version
https://github.com/StarRocks/starrocks/pull/25535. It's safier.

Signed-off-by: Smith Cruise <chendingchao1@126.com>
2023-06-19 19:33:00 +08:00
Felix Li fb67922cb5
[Enhancement] Add patch to enhance brpc security due to CVE-2023-31039 (#24155)
Fixes #24152

Signed-off-by: Astralidea <astralidea@163.com>
2023-05-26 10:23:10 +08:00
trueeyu 7946bb6098
[BugFix] Patch roaring-bitmap lib to fix bitmap index bug (#23484)
cherry-pick: https://github.com/RoaringBitmap/CRoaring/pull/246/files

This bug will cause queries based on BitmapIndex to return wrong data
2023-05-17 09:30:59 +08:00
Kevin Cai e60f9688d3
[Refactor] force arrow links to external jemalloc static library (#21897)
maintain only one copy of jemalloc in sr project

Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
2023-04-23 13:40:14 +08:00
wangruin 9110ed05f9
[Bugfix] Fix compile error in AWS Graviton (#20757)
Signed-off-by: wangruin <913474924@qq.com>
2023-04-03 09:13:41 +08:00
zaorangyang 69c9fa6f8e
[Tool] disable LZMA codec for avro lib (#19719) 2023-03-20 17:30:26 +08:00
zaorangyang ee4d84e26c
[Feature] Add confluet schema registry module in thirdparty (#17709)
* [Feature] Add confluet schema registry module in thirdparty

Signed-off-by: Zaorang Yang <zaorangy@gmail.com>
2023-02-20 12:36:58 +08:00
trueeyu a91099c247
[BugFix] Fix the problem that Librdkafka is not patched (#17980) 2023-02-17 08:01:10 -08:00
Murphy f6e17f7a3f
Revert "[Feature] Routine load support for confluent avro data format (#16662)" (#17696)
This reverts commit 40379ba935.
2023-02-11 10:08:18 -08:00
zaorangyang 40379ba935
[Feature] Routine load support for confluent avro data format (#16662)
Signed-off-by: Zaorang Yang <zaorangy@gmail.com>
2023-02-09 19:18:57 +08:00
wangruin a7222ea76d
Fix brpc compile error (#16418)
The graduation of the brpc project caused the file md5 to change
2023-01-10 13:34:49 +08:00
stdpain 8c04b6c240
[Enhancement] Optimize the performance for regexp_replace (#16356)
performance case:
```
SELECT max(REGEXP_REPLACE(Referer, '^https?://(?:www\.)?([^/]+)/.*$', '\1')) AS k, COUNT(*) AS c FROM hits where Referer<>'';
```
baseline: 3.55
after-upgrade-re2: 2.75
update-re2 and optimize allocate: 2.12
2023-01-10 10:04:01 +08:00