Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opt](optimizer) Remove unused code for unify code #38922

Open
wants to merge 203 commits into
base: branch-3.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
203 commits
Select commit Hold shift + click to select a range
4127fb9
[Fix](regression) Fix typo in `test_schema_change_unique_mow` (#39196)
bobhan1 Aug 11, 2024
042aa0f
[regression](txn insert) add more txn insert case (#38319)
mymeiyi Jul 25, 2024
5b5d189
[fix](restore) Reset next version for restored partitions (#38321)
w41ter Jul 25, 2024
7eff240
[opt](Nereids) add where Null rule to create empty relation as where …
LiBinfeng-01 Jul 25, 2024
9cf5538
[fix](broker) Broker already had baidu afs support but can't really u…
biohazard4321 Jul 25, 2024
5998146
[regression](test) check load channel and load stream before quit (#3…
hello-stephen Jul 25, 2024
b41c6d9
[fix](test) fix unstable refresh catalog/db ut (#38352)
morningman Jul 25, 2024
2b5b5c9
[Bug](dry-run) make dryrun result set collect multi batch's QueryStat…
BiteTheDDDDt Jul 25, 2024
e969f4a
[opt](column nullable) Optimization for ColumnNullable serialization …
zhiqiang-hhhh Jul 25, 2024
4bb9c26
[fix](backup) Read BackupMeta with the specified meta version (#38370)
w41ter Jul 25, 2024
746bca9
[feat](FE) add rest api to get last profile (#38268)
englefly Jul 26, 2024
0979d07
[Fix](cloud) fix test_stream_load_2pc regression test for that mow ta…
liaoxin01 Jul 26, 2024
a837b4f
[Improvement](profile) add catalog info in profile (#38283)
Yulei-Yang Jul 26, 2024
cb637a7
[opt](mow) opt mow lookup with sequence column (#38287)
cambyzju Jul 26, 2024
edbe15e
[Enhancement](mtmv) Support read sync materialized view in async mate…
liutang123 Jul 26, 2024
83f2d90
[Improvement](runtime-filter) use shared ptr to instead object pool t…
BiteTheDDDDt Jul 26, 2024
62660f9
[fix](arm) fix arm compilation (#38395)
zclllyybb Jul 26, 2024
47c516d
[chore](nereids) Added compatibility with mysql alias conflict (#38104)
Toms1999 Jul 26, 2024
73c9a6f
[fix](type)support runtime predicate for time type (#38258)
Mryange Jul 29, 2024
b5d9e80
[fix](partial-update) insert only without auto_inc column should not …
cambyzju Jul 29, 2024
728178d
[opt](parse) optimize parsing string to datetime (#38385)
zclllyybb Jul 29, 2024
092941c
[bugfix](hudi)add timetravel for nereids (#38324)
wuwenchi Jul 30, 2024
6750492
[Fix](outfile) FE check the hdfs URI of outfile (#38203)
BePPPower Jul 30, 2024
e8dc72d
[env](case) fix error case without order by (#38483)
Mryange Jul 30, 2024
db6b2cd
[fix](multicatalog) fix hadoop authenticator not inited for existing …
Yulei-Yang Jul 30, 2024
e0f41e2
[opt](memory) Add memory metrics to bvar (#38391)
xinyiZzz Jul 30, 2024
3deb959
[opt](arrow-flight-sql) Add config `arrow_flight_result_sink_buffer_s…
xinyiZzz Jul 30, 2024
9cb5fb5
[Bug](http-api) fix core dump on /api/reset_rpc_channel coz exec_env …
BiteTheDDDDt Jul 30, 2024
02f9802
[enhance](Metric) Add metric for non block close thread pool's thread…
ByteYue Jul 30, 2024
b6bae33
[bugfix](paimon)add support for 'in' and 'not in' (#38390)
wuwenchi Jul 30, 2024
bbdd820
[fix](auth) show routine load db is null (#38365)
zddr Jul 30, 2024
3f2d481
[opt](memory) Calculate workload group weighted memory limit (#38494)
xinyiZzz Jul 31, 2024
c0be215
[improve](columns)replace logFatal with exception and del some useles…
amorynan Jul 31, 2024
c3dd33c
[Fix]log and fix policy daemon check (#38532)
wangbo Jul 31, 2024
783212f
[env](patch) use patch to opt bitshuffle (#38378)
Mryange Jul 31, 2024
1b7e499
[enhance](Backup) Do connectivity check when creating repository (#38…
ByteYue Jul 31, 2024
fde6a7c
[refactor](pipeline) Remove non-pipeline code (#38508)
Gabriel39 Jul 31, 2024
d032c19
[fix](regression) fix prepare_insert when execute prepare stmt in obs…
mymeiyi Jul 31, 2024
972f96a
[Chore](Fe)Upgrade dependencies (#38509)
CalvinKirs Jul 31, 2024
85ee9c1
[enhance](S3) Don't use aws's multithread utility in S3 FS to suite n…
ByteYue Jul 31, 2024
4f60750
[fix](auth)fix create table like need create_priv of existed table (#…
zddr Jul 31, 2024
c80cde2
[Fix](memory) Fix allocator.h compiling failed on mac. (#38562)
kaka11chen Jul 31, 2024
8ae2bca
[Fix](compile) Fix clang-18 and libc++ compile problems (#34715)
biohazard4321 Jul 31, 2024
babc253
[ci](trigger) support trigger branch-3.0 (#38563)
hello-stephen Jul 31, 2024
a780503
[pipeline](fix) Fix blocking task which is not triggered by 2nd RPC (…
Gabriel39 Jul 31, 2024
c4884e4
[fix](nereids) check functionBuilders is not null before using it (#3…
starocean999 Jul 31, 2024
11782b1
[spill](regression) add regression test cases for spill (#37319)
jacktengg Jul 31, 2024
a7f9cd9
[fix](SSL) Correctly close SSL connections (#38587)
TangSiyang2001 Jul 31, 2024
9d53f9d
[Opt](load) print tablet id when memtable flush coredump (#38618)
liaoxin01 Aug 1, 2024
46cec79
[chore](olap) Unify the parameters into SegmentWriterOptions (#38476)
w41ter Aug 1, 2024
f23df6a
[chore](explain) Add algorithm item to VSORT explainition and modify …
zclllyybb Aug 1, 2024
76492b4
[fix](group commit) add debug log show why group commit not work; del…
mymeiyi Aug 1, 2024
176baa7
[chore](bdbtool) Skip read checksum and log escaped value (#38524)
w41ter Aug 1, 2024
d484c65
[fix](bloom filter)Fix rename column with bloom filter (#38431)
qidaye Aug 1, 2024
3bbe6a1
[Chore](statistic) do not use memory order relaxed on QueryStatistics…
BiteTheDDDDt Jul 22, 2024
d10eaae
[Refactor](common) refactor the Exception code (#38172)
HappenLee Jul 22, 2024
db47b67
[samples](rust) add rust stream load sample (#38141)
zy-kkk Jul 22, 2024
12595e5
[function](feature) Implement CRC32 function (#38204)
Gabriel39 Jul 23, 2024
728b9e6
[refactor](olap-server) Extract submitted compaction tasks management…
TangSiyang2001 Jul 24, 2024
95b46b6
[chore](ga) add large file checker (#34616)
morningman Jul 24, 2024
6b9fa82
[Chore](fuzzy) enable some fuzzy variables (#38155)
BiteTheDDDDt Jul 24, 2024
e4ef277
[Refactor](exec) remove the unless file and refactor the agg code (#3…
HappenLee Jul 24, 2024
2e578f7
[Refactor](ShortCircuit) Conjuncts outof key columns's order should b…
eldenmoon Jul 25, 2024
7960576
[regression](cluster key) move cluster key case to a new directory (#…
mymeiyi Jul 25, 2024
53afae9
[Imrpoment]Add io throttle (#38238)
wangbo Jul 26, 2024
8efd609
[enhancement](profile) Store profile on disk so that we can hold more…
zhiqiang-hhhh Jul 26, 2024
6c948e7
[chore](label) add a doing label for every pr (#37886)
xiaokang Jul 28, 2024
f519ae4
[Refactor]use async to get be resource (#38389)
wangbo Jul 29, 2024
540d262
[chore](doc) Remove useless doc files (#38441)
zclllyybb Jul 29, 2024
53c5070
[fix](profile) Fix read load profile failed (#38437)
zhiqiang-hhhh Jul 30, 2024
51b8b26
(cloud-merge) Support to abort txn when coordinate be restart and do …
Lchangliang Jul 30, 2024
4462ea3
[Improment]publish workload to BE by tag (#38486)
wangbo Jul 31, 2024
1d65def
[github](action) fix scope labeler (#38583)
hello-stephen Jul 31, 2024
5f4bda8
[fix](array-func)fix func array_enumerate_uniq with param is nullable…
amorynan Aug 1, 2024
8b1b0bf
[minor](fe) simplfy some code in HMSExternalTable (#32344)
WinkerDu Aug 1, 2024
5bce6e8
[fix](multicatalog) fix metacache is null issue when show_dbs (#38619)
Yulei-Yang Aug 1, 2024
d8c521e
[Chore](GH)Setting CK as the code owner for pom.xml. (#38679)
CalvinKirs Aug 1, 2024
9558834
[improvement](jdbc catalog) improvement some jdbc catalog properties …
zy-kkk Aug 1, 2024
fb1ff0f
[fix](regression)Set enable_partition_analyze session back to false i…
Jibing-Li Aug 1, 2024
2520ed7
[opt](join) check datatype of intermediate slots in hash join (#38556)
mrhhsg Aug 1, 2024
aa73f60
[fix](merge-on-write) segcompaction should process delete bitmap if n…
zhannngchen Aug 1, 2024
b2de4c0
[bugfix](asan core) should use weak ptr in rpc context to release rf …
yiguolei Aug 1, 2024
1a86b64
[Improvement](expr) fold child when const expr not folded (#38493)
BiteTheDDDDt Aug 1, 2024
8cd737e
[fix](recycler) Fix recycler compilation issue with libhdfs3 (#38485)
glzhao89 Aug 1, 2024
4ebfa3f
[opt](memory) Optimize `ClearCacheAction`implementation (#38438)
xinyiZzz Aug 2, 2024
663baa1
[enhancement](tools) make benchmark scripts better use (#38717)
zclllyybb Aug 2, 2024
eae2cd8
[fix](serde)fix the bug in DataTypeNullableSerDe.deserialize_column_f…
hubgeter Aug 2, 2024
8268fd0
[regression](kerberos)add hive with kerberos write back case (#38647)
wsjz Aug 2, 2024
7c6f3dd
[bugfix](iceberg)revert count(*) directly returned by fe (#38566)
wuwenchi Aug 2, 2024
5df3b56
[chore](test) disable fault injection to make pipeline task check hap…
sollhui Aug 2, 2024
3da6c14
[fix](load) fix miss writer in concurrency incremental open (#38605)
zclllyybb Aug 2, 2024
2362386
[fix](session) fix select * from variables system table (#34529)
nextdreamblue Aug 2, 2024
34b3cb6
[fix](test) fix routine load case unstable (#38748)
sollhui Aug 2, 2024
d668794
[opt](test) add header check test case (#38758)
morrySnow Aug 2, 2024
e3c00e6
[improvement](statistics)Analyze table if it hasn't been analyzed for…
Jibing-Li Aug 2, 2024
c70dd68
[opt](variables) enlarge the default value of max_allowed_packet (#38…
morningman Aug 2, 2024
3c39d64
[fix](group commit) Fix group commit debug log and improve performanc…
mymeiyi Aug 2, 2024
5a83c4f
[COMPILE](macos) do not patch bitshuffle on macos (#38634)
Mryange Aug 2, 2024
86237b4
[fix](test)Fix unstable test drop index fault (#38768)
qidaye Aug 2, 2024
19dfa2e
[improvement](log)Add log for load report update rows. (#38774)
Jibing-Li Aug 2, 2024
3bc2e7e
[fix](segcompaction) fix convert delete bitmap core (#38800)
zhannngchen Aug 3, 2024
fa2c20a
[Bug](function) use emplace to replace insert_or_assign on stable dis…
BiteTheDDDDt Aug 3, 2024
e270be8
[fix](fe) Fix the default value of ReplacePartitionClause.isStrictRan…
w41ter Aug 4, 2024
ef5094a
[fix](compaction) fix the longest continuous rowsets cannot be select…
luwei16 Aug 4, 2024
77fc209
[Fix](load) The value of the index id printed in the log is incorrect…
liaoxin01 Aug 4, 2024
ceff9db
[fix](clone) fix stale tablet report miss the new cloning replica (#3…
yujun777 Aug 4, 2024
0e33cce
[fix](schema-change) Fix schema change run into nullable check specif…
TangSiyang2001 Aug 4, 2024
62bc25c
[Fix](group commit) Fix multiple cluster group commit BE select stra…
Yukang-Lian Aug 4, 2024
067cca0
[fix](nereids) optimize cost model to make join order good for runtim…
englefly Aug 5, 2024
7dd0233
[fix](nereids)support group_concat with distinct and order by (#38080)
starocean999 Aug 5, 2024
7d5e485
[Fix](Nereids) remove some unstable and not important cases (#38779)
LiBinfeng-01 Aug 5, 2024
2e2fe2a
[enhancement](regression-test) Add regression test for presto dialect…
suxiaogang223 Aug 5, 2024
53d42c6
[Enhancement] (doris-future) Support auto partition name function (#3…
wyxxxcat Aug 5, 2024
a7e7b73
[opt](index) add more inverted index profile metrics (#36696)
xiaokang Aug 5, 2024
94913eb
[opt](nereids) add dphyper limit configuration (#38739)
xzj7019 Aug 5, 2024
012d09d
[fix asan core](memoryleak) should deconstruct filter entity in scope…
yiguolei Aug 5, 2024
bc7bbc0
[improvement](tablet scheduler) Adjust tablet sched priority to help …
yujun777 Aug 5, 2024
d703eab
[Enhancement](audit log) Set print audit log sesssion variable defaul…
Yukang-Lian Aug 5, 2024
163ece1
[refactor](minor) Delete unused code (#38848)
Gabriel39 Aug 5, 2024
2ffd74a
[fix](gson) Fix gson Pretty Printing (#38886)
w41ter Aug 5, 2024
25734a7
[optimize](regression-test)use explain action to verify the explain r…
DarvenDuan Aug 6, 2024
6354ded
[Chore](dependnecies)remove javax.el and upgrade jackson to 2.16.0 (#…
CalvinKirs Aug 6, 2024
f63b4d8
[improvement](statistics)Improve statistics cache loading logic. (#38…
Jibing-Li Aug 6, 2024
7998f6f
[opt](nereids) support partitionTopn for multi window exprs (#38393)
xzj7019 Aug 6, 2024
1669b1d
[chore](sql) Forbid show hidden columns and create table with hidden …
924060929 Aug 6, 2024
6ba1394
[Fix](inverted index) fix missed array inverted index null bitmap (#3…
airborne12 Aug 6, 2024
01ae4c0
[Fix](Export) Export delete multiple times when specify the `delete_e…
BePPPower Aug 6, 2024
7867587
[fix](testcase) make set global cases non parallel (#38919)
zclllyybb Aug 6, 2024
b74f940
[Improve](Schema Change) avoid printing stack trace when check __DORI…
eldenmoon Aug 6, 2024
599fc54
[fix](routine load) reset Kafka progress cache when routine load job …
sollhui Aug 6, 2024
5b18a9e
[opt](catalog) merge scan range to avoid too many splits (#38311)
morningman Aug 6, 2024
61b9c12
[fix] (scan) push down expr in agg and mor (#38379)
csun5285 Aug 6, 2024
780c9ff
[fix] (compaction) add error log and fix time series (#38791)
csun5285 Aug 6, 2024
558951a
[Enhancement]use awaitility.await() replace thread.sleep(), neredis p…
Vallishp Aug 6, 2024
f6351e7
[Enhancement]use awaitility.await() add in schema_change tc #37817 (#…
Vallishp Aug 6, 2024
b93e163
[bugfix](backup)(cooldown) cancel backup properly when be backup fail…
justfortaste Aug 7, 2024
9986fbc
[Fix](partial update) Persist partial_update_info in RocksDB in case …
bobhan1 Aug 7, 2024
33feda0
[chore](show partitions) show partitions print commit version (#28274)
yujun777 Aug 7, 2024
52485d1
[log](regression) print load_id of remaining load_streams before quit…
kaijchen Aug 7, 2024
ad25629
[Opt](heartbeat) improve the tolerance of the cluster to occasional h…
liaoxin01 Aug 7, 2024
c0f1274
[Fix](Exception) throw exception in defer may result std::terminate (…
eldenmoon Aug 7, 2024
c265f31
[Bug](rf) fix rf of minmax cast data as string_ref maybe return wrong…
zhangstar333 Aug 7, 2024
645630c
[enhance](C++) Prefer using make_unique_for_overwrite first when allo…
ByteYue Aug 7, 2024
45d19de
[fix](Nereids) lock table when generate distribute plan (#38950)
924060929 Aug 7, 2024
f2e124f
Revert "[Opt](heartbeat) improve the tolerance of the cluster to occa…
liaoxin01 Aug 7, 2024
66bd863
[Chore](load) return error reason when database/table not founded whe…
BiteTheDDDDt Aug 7, 2024
2b79f92
[bug](parquet)Fix the problem that the parquet reader reads the missi…
hubgeter Aug 7, 2024
9d8461a
[fix](schema-change) Fix wrong intput column for cast validity check …
TangSiyang2001 Aug 7, 2024
c74b079
[Improvement](inverted index) lazy init inverted index file reader (#…
airborne12 Aug 7, 2024
2fd4056
[fix](cancel) Fix wrong status when query failed (#38982)
zhiqiang-hhhh Aug 7, 2024
77e2013
[enhancement](errmsg) Make stream load error message more clear and c…
zclllyybb Aug 7, 2024
b087d30
[fix](test) fix conflict create table by different regression test (#…
924060929 Aug 7, 2024
01ba5e3
[opt](merge-on-write) eliminate reading the old values of non-key col…
bobhan1 Aug 7, 2024
7cedc87
[opt](nereids) adjust broadcast/shuffle join (#37823)
englefly Aug 7, 2024
c95d92b
[fix](inverted index) fix multi match result error (#38931)
zzzxl1993 Aug 7, 2024
cb8eccf
[fix](cluster key) some data type is not supported for cluster key (#…
mymeiyi Aug 7, 2024
44f8d3b
[fix](parquet) disable parquet page index by default (#38691)
morningman Aug 8, 2024
e5b844a
[Improment]Limit remote scan IO (#39012)
wangbo Aug 8, 2024
4d5dc46
[fix] (inverted index) Fix match function without inverted index (#38…
csun5285 Aug 8, 2024
2b63d33
[fix](move-memtable) multi replica tables should tolerate minority fa…
kaijchen Aug 8, 2024
936bbd6
[Fix](Planner) fix delete from using does not attach partition inform…
LiBinfeng-01 Aug 8, 2024
71f9185
[enhancement](Nereids) fast compute hash code of deep expression tree…
924060929 Aug 8, 2024
4104b0e
[Fix](merge-on-write) Fix UBSan error cause by member call on null po…
bobhan1 Aug 8, 2024
0944c46
[fix](Nereids) cast to boolean wrong when constant folding by be (#39…
morrySnow Aug 8, 2024
c02977a
[improvement](statistics)Return -1 when external table row count is u…
Jibing-Li Aug 8, 2024
cc265f0
[Improve](config)del array config for create inverted index (#39006)
amorynan Aug 8, 2024
ed058c3
[chore](rowset writer) print rowset rows number when meet too many se…
sollhui Aug 8, 2024
a2d8947
[improvement](statistics)Drop column stats after schema change. (#39101)
Jibing-Li Aug 8, 2024
ac45c9b
[Fix](nereids) fix bind expression compare dbname ignore cluster (#39…
feiniaofeiafei Aug 9, 2024
d78351d
[test](catalog) add upgrade test cases for external catalog (#39063)
morningman Aug 9, 2024
90e7d86
[fix](inverted index) warm up inverted index (#38986)
zzzxl1993 Aug 9, 2024
829d50f
[fix](move-memtable) fix bvar g_load_stream_file_writer_cnt (#39075)
kaijchen Aug 9, 2024
f9b2976
[fix] (nereids) fix Match Expreesion in filter estimation (#39050)
csun5285 Aug 9, 2024
541a6f9
[fix](local exchange) Fix EOS processing in local exchanger (#39031)
Gabriel39 Aug 9, 2024
b1ad113
[fix](Nereids) set operation output nullable maybe wrong (#39109)
morrySnow Aug 9, 2024
53faf4a
[fix](mtmv)fix can not show create mtmv use follower fe (#38794)
zddr Aug 9, 2024
9eedde3
[Fix](regression) remove useless properties when create table in test…
airborne12 Aug 9, 2024
0670d3b
[Bug](materialized-view) fix analyze where clause failed on mv (#39061)
BiteTheDDDDt Aug 9, 2024
8bf7045
[fix](mtmv) Fix rewrite by materialized view fail when query hive tab…
seawinde Aug 9, 2024
f9d92ec
[enhance](mtmv)Disable mtmv list rollup (#38124)
zddr Aug 9, 2024
bbd7e12
[enhance](mtmv) change mysql table type of mtmv to table (#38797)
zddr Aug 9, 2024
eb87fe0
[fix](inverted index) multi match distinguishes the inverted index v1…
zzzxl1993 Aug 9, 2024
5c870cb
[improvement](balance) don't balance tablet which has unfinish alter …
yujun777 Aug 9, 2024
9e91262
[Bug](rf) fix rf of in filter cast data as different class type maybe…
zhangstar333 Aug 10, 2024
a2c16e2
[Bug](partition-topn) fix partition-topn calculate partition input ro…
zhangstar333 Aug 10, 2024
6d1f682
[opt](catalog) modify some meta cache logic (#38506)
morningman Aug 10, 2024
9f419db
[fix](schema-change) Fix potential data race when a schema change job…
TangSiyang2001 Aug 10, 2024
f0c0f30
[fix](regression) fix some jdbc datasource docker health check (#39141)
zy-kkk Aug 10, 2024
307a996
[fix](function) MicroSecondsSub without scale (#38945)
Mryange Aug 10, 2024
a15ccb0
[fix](ub) undefined behavior in FixedContainer (#39191)
mrhhsg Aug 10, 2024
e57e98f
bump to 3.0.2-rc01
dataroaring Aug 11, 2024
559c22e
[fix](compile) Fix frontend compile fail (#38404)
zhiqiang-hhhh Jul 26, 2024
f8cd153
[fix](test) fix p2 regression test of export (#39088)
BePPPower Aug 11, 2024
cf437ac
[config](array) delete config enable_create_inverted_index_for_array …
amorynan Aug 12, 2024
07af360
[Improment]Add schema table workload_group_privileges (#38436)
wangbo Jul 31, 2024
bc3fe70
[fix](compile) Resolve compile failure (#38593)
Gabriel39 Jul 31, 2024
980302e
[fix](regression) Fix some insert_p2 cases (#39134)
mymeiyi Aug 11, 2024
3084c9e
[Fix](multi-catalog) Fix not throw error when call close() in hive/ic…
kaka11chen Aug 11, 2024
c082d31
[improvement](iceberg)]support doris's char/varchar to iceberg's stri…
wuwenchi Aug 11, 2024
c0e6d1e
[improvement](test)Use show_nested_index_file to check inverted index…
qidaye Aug 12, 2024
3dce2b3
[test](http action)Add http action to show nested inverted index file…
qidaye Aug 12, 2024
ef2f469
[fix](cloud tvf) Fix tvf query run in cloud multi cluster #37157 (#39…
deardeng Aug 13, 2024
e5ef77e
[opt](optimizer) Remove unused code to unify code
Aug 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
#
be/src/io/* @platoneko @gavinchou @dataroaring
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @dataroaring @CalvinKirs @morningman
**/pom.xml @CalvinKirs @morningman
30 changes: 18 additions & 12 deletions .github/workflows/comment-to-trigger-teamcity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ jobs:
set -x
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-2.0'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-3.0'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-2.1'" ]]; then
trigger_or_skip_build \
"${{ steps.changes.outputs.changed_fe_ut }}" \
Expand All @@ -158,7 +159,7 @@ jobs:
"feut" \
"${{ steps.parse.outputs.COMMENT_REPEAT_TIMES }}"
else
echo "PR target branch is not in (master, branch-2.0, branch-2.1), skip run feut"
echo "PR target branch is not in (master, branch-2.0, branch-2.1, branch-3.0), skip run feut"
trigger_or_skip_build \
"false" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
Expand All @@ -175,6 +176,7 @@ jobs:
set -x
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-2.0'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-3.0'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-2.1'" ]]; then
trigger_or_skip_build \
"${{ steps.changes.outputs.changed_be_ut }}" \
Expand All @@ -183,7 +185,7 @@ jobs:
"beut" \
"${{ steps.parse.outputs.COMMENT_REPEAT_TIMES }}"
else
echo "PR target branch is not in (master, branch-2.0, branch-2.1), skip run beut"
echo "PR target branch is not in (master, branch-2.0, branch-2.1, branch-3.0), skip run beut"
trigger_or_skip_build \
"false" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
Expand All @@ -197,15 +199,16 @@ jobs:
run: |
source ./regression-test/pipeline/common/teamcity-utils.sh
set -x
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ]]; then
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-3.0'" ]]; then
trigger_or_skip_build \
"${{ steps.changes.outputs.changed_cloud_ut }}" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
"${{ steps.parse.outputs.COMMIT_ID_FROM_TRIGGER }}" \
"cloudut" \
"${{ steps.parse.outputs.COMMENT_REPEAT_TIMES }}"
else
echo "PR target branch is not master, skip run cloudut"
echo "PR target branch is not in (master, branch-3.0), skip run cloudut"
fi

- name: "Trigger or Skip compile"
Expand Down Expand Up @@ -279,16 +282,17 @@ jobs:
echo "COMMENT_TRIGGER_TYPE is buildall, trigger compile is enough, compile will trigger cloud_p0" && exit
fi
set -x
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ]]; then
echo "PR target branch in (master), need run cloud_p0"
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-3.0'" ]]; then
echo "PR target branch is in (master, branch-3.0), need run cloud_p0"
trigger_or_skip_build \
"${{ steps.changes.outputs.changed_cloud_p0 }}" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
"${{ steps.parse.outputs.COMMIT_ID_FROM_TRIGGER }}" \
"cloud_p0" \
"${{ steps.parse.outputs.COMMENT_REPEAT_TIMES }}"
else
echo "PR target branch not in (master), skip run cloud_p0"
echo "PR target branch is not in (master, branch-3.0), skip run cloud_p0"
trigger_or_skip_build \
"false" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
Expand All @@ -305,16 +309,17 @@ jobs:
echo "COMMENT_TRIGGER_TYPE is buildall, trigger compile is enough, compile will trigger cloud_p1" && exit
fi
set -x
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ]]; then
echo "PR target branch in (master), need run cloud_p1"
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-3.0'" ]]; then
echo "PR target branch is in (master, branch-3.0), need run cloud_p1"
trigger_or_skip_build \
"${{ steps.changes.outputs.changed_cloud_p1 }}" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
"${{ steps.parse.outputs.COMMIT_ID_FROM_TRIGGER }}" \
"cloud_p1" \
"${{ steps.parse.outputs.COMMENT_REPEAT_TIMES }}"
else
echo "PR target branch not in (master), skip run cloud_p1"
echo "PR target branch is not in (master, branch-3.0), skip run cloud_p1"
trigger_or_skip_build \
"false" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
Expand All @@ -341,16 +346,17 @@ jobs:
source ./regression-test/pipeline/common/teamcity-utils.sh
set -x
if [[ "${{ steps.parse.outputs.TARGET_BRANCH }}" == "'master'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-3.0'" ||
"${{ steps.parse.outputs.TARGET_BRANCH }}" == "'branch-2.0'" ]]; then
echo "PR target branch in (master, branch-2.0), need run performance"
echo "PR target branch is in (master, branch-2.0, branch-3.0), need run performance"
trigger_or_skip_build \
"${{ steps.changes.outputs.changed_performance }}" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
"${{ steps.parse.outputs.COMMIT_ID_FROM_TRIGGER }}" \
"performance" \
"${{ steps.parse.outputs.COMMENT_REPEAT_TIMES }}"
else
echo "PR target branch not in (master, branch-2.0), skip run performance"
echo "PR target branch is not in (master, branch-2.0, branch-3.0), skip run performance"
trigger_or_skip_build \
"false" \
"${{ steps.parse.outputs.PULL_REQUEST_NUM }}" \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/labeler/scope-label-conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ meta-change:
- fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
- gensrc/thrift/*
- gensrc/proto/*

doing:
- '**'
47 changes: 47 additions & 0 deletions .github/workflows/lfs-warning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
---
name: 'Check Large File'

on: [push, pull_request_target]

jobs:
large-file-checker:
name: "Check large file"
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive

- name: "Checkout lfs-warning commit"
run: |
rm -rf ./.github/actions/lfs-warning
git clone https://github.com/ppremk/lfs-warning .github/actions/lfs-warning
pushd .github/actions/lfs-warning &>/dev/null
git checkout 4b98a8a5e6c429c23c34eee02d71553bca216425
popd &>/dev/null

- name: "Check Large File"
uses: ./.github/actions/lfs-warning
with:
token: ${{ secrets.GITHUB_TOKEN }}
filesizelimit: 1MB

28 changes: 15 additions & 13 deletions be/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ set(BOOST_VERSION "1.81.0")

if (NOT APPLE)
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS system date_time)
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS system container)
else()
find_package(Boost ${BOOST_VERSION} COMPONENTS system date_time)
find_package(Boost ${BOOST_VERSION} COMPONENTS system container)
Expand Down Expand Up @@ -298,12 +299,11 @@ if (COMPILER_CLANG)
-Wno-implicit-float-conversion
-Wno-implicit-int-conversion
-Wno-sign-conversion
-Wno-missing-field-initializers
-Wno-unused-const-variable
-Wno-shorten-64-to-32)
if (USE_LIBCPP)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-stdlib=libc++>)
if (NOT OS_MACOSX)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-lstdc++>)
endif()
add_definitions(-DUSE_LIBCPP)
endif()
endif ()
Expand Down Expand Up @@ -373,29 +373,29 @@ endif()
# For CMAKE_BUILD_TYPE=Debug
if (OS_MACOSX AND ARCH_ARM)
# Using -O0 may meet ARM64 branch out of range errors when linking with tcmalloc.
set(CXX_FLAGS_DEBUG "${CXX_GCC_FLAGS} -Og")
set(CXX_FLAGS_DEBUG "-Og")
else()
set(CXX_FLAGS_DEBUG "${CXX_GCC_FLAGS} -O0")
set(CXX_FLAGS_DEBUG "-O0")
endif()

# For CMAKE_BUILD_TYPE=Release
# -O3: Enable all compiler optimizations
# -DNDEBUG: Turn off dchecks/asserts/debug only code.
set(CXX_FLAGS_RELEASE "${CXX_GCC_FLAGS} -O3 -DNDEBUG")
set(CXX_FLAGS_ASAN "${CXX_GCC_FLAGS} -O0 -fsanitize=address -fsanitize=undefined -fno-strict-aliasing -fno-sanitize=alignment,signed-integer-overflow,float-cast-overflow -DUNDEFINED_BEHAVIOR_SANITIZER -DADDRESS_SANITIZER")
set(CXX_FLAGS_LSAN "${CXX_GCC_FLAGS} -O0 -fsanitize=leak -DLEAK_SANITIZER")
set(CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
set(CXX_FLAGS_ASAN "-O0 -fsanitize=address -fsanitize=undefined -fno-strict-aliasing -fno-sanitize=alignment,signed-integer-overflow,float-cast-overflow -DUNDEFINED_BEHAVIOR_SANITIZER -DADDRESS_SANITIZER")
set(CXX_FLAGS_LSAN "-O0 -fsanitize=leak -DLEAK_SANITIZER")
## Use for BE-UT
set(CXX_FLAGS_ASAN_UT "${CXX_GCC_FLAGS} -O0 -fsanitize=address -DADDRESS_SANITIZER")
set(CXX_FLAGS_ASAN_UT "-O0 -fsanitize=address -DADDRESS_SANITIZER")

# Set the flags to the undefined behavior sanitizer, also known as "ubsan"
# Turn on sanitizer and debug symbols to get stack traces:
set(CXX_FLAGS_UBSAN "${CXX_GCC_FLAGS} -O0 -fno-wrapv -mcmodel=medium -fsanitize=undefined -DUNDEFINED_BEHAVIOR_SANITIZER")
set(CXX_FLAGS_UBSAN "-O0 -fno-wrapv -mcmodel=medium -fsanitize=undefined -DUNDEFINED_BEHAVIOR_SANITIZER")

# Set the flags to the thread sanitizer, also known as "tsan"
# Turn on sanitizer and debug symbols to get stack traces:
# Use -Wno-builtin-declaration-mismatch to mute warnings like "new declaration ‘__tsan_atomic16 __tsan_atomic16_fetch_nand(..."
# If use -O0 to compile, BE will stack overflow when start. https://github.com/apache/doris/issues/8868
set(CXX_FLAGS_TSAN "${CXX_GCC_FLAGS} -O1 -fsanitize=thread -DTHREAD_SANITIZER -Wno-missing-declarations")
set(CXX_FLAGS_TSAN "-O1 -fsanitize=thread -DTHREAD_SANITIZER -Wno-missing-declarations")

# Set compile flags based on the build type.
if ("${CMAKE_BUILD_TYPE}" STREQUAL "DEBUG")
Expand Down Expand Up @@ -517,6 +517,7 @@ find_package(absl)
# add it here first.
set(COMMON_THIRDPARTY
Boost::date_time
Boost::container
${COMMON_THIRDPARTY}
)

Expand Down Expand Up @@ -559,7 +560,6 @@ endif()
if (OS_MACOSX)
set(COMMON_THIRDPARTY
${COMMON_THIRDPARTY}
Boost::container
bfd
iberty
intl
Expand Down Expand Up @@ -603,9 +603,11 @@ if (NOT OS_MACOSX)
${DORIS_DEPENDENCIES}
-static-libstdc++
-static-libgcc
-lstdc++fs
-lresolv
)
if (NOT (USE_LIBCPP AND COMPILER_CLANG))
set(DORIS_LINK_LIBS ${DORIS_LINK_LIBS} -lstdc++fs)
endif()
else()
set(DORIS_LINK_LIBS
${DORIS_LINK_LIBS}
Expand Down
18 changes: 13 additions & 5 deletions be/src/agent/task_worker_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ std::unordered_map<TTaskType::type, std::unordered_set<int64_t>> s_task_signatur

std::atomic_ulong s_report_version(time(nullptr) * 10000);

void increase_report_version() {
s_report_version.fetch_add(1, std::memory_order_relaxed);
}

// FIXME(plat1ko): Paired register and remove task info
bool register_task_info(const TTaskType::type task_type, int64_t signature) {
if (task_type == TTaskType::type::PUSH_STORAGE_POLICY ||
Expand Down Expand Up @@ -214,7 +218,7 @@ void alter_tablet(StorageEngine& engine, const TAgentTaskRequest& agent_task_req
}

if (status.ok()) {
s_report_version.fetch_add(1, std::memory_order_relaxed);
increase_report_version();
}

// Return result to fe
Expand Down Expand Up @@ -290,7 +294,7 @@ void alter_cloud_tablet(CloudStorageEngine& engine, const TAgentTaskRequest& age
}

if (status.ok()) {
s_report_version.fetch_add(1, std::memory_order_relaxed);
increase_report_version();
}

// Return result to fe
Expand Down Expand Up @@ -1536,7 +1540,7 @@ void create_tablet_callback(StorageEngine& engine, const TAgentTaskRequest& req)
.tag("tablet_id", create_tablet_req.tablet_id)
.error(status);
} else {
s_report_version.fetch_add(1, std::memory_order_relaxed);
increase_report_version();
// get path hash of the created tablet
TabletSharedPtr tablet;
{
Expand Down Expand Up @@ -1631,7 +1635,7 @@ void push_callback(StorageEngine& engine, const TAgentTaskRequest& req) {
.tag("signature", req.signature)
.tag("tablet_id", push_req.tablet_id)
.tag("push_type", push_req.push_type);
++s_report_version;
increase_report_version();
finish_task_request.__set_finish_tablet_infos(tablet_infos);
} else {
LOG_WARNING("failed to execute push task")
Expand Down Expand Up @@ -1677,7 +1681,7 @@ void cloud_push_callback(CloudStorageEngine& engine, const TAgentTaskRequest& re
.tag("signature", req.signature)
.tag("tablet_id", push_req.tablet_id)
.tag("push_type", push_req.push_type);
++s_report_version;
increase_report_version();
auto& tablet_info = finish_task_request.finish_tablet_infos.emplace_back();
// Just need tablet_id
tablet_info.tablet_id = push_req.tablet_id;
Expand Down Expand Up @@ -1974,6 +1978,10 @@ void clone_callback(StorageEngine& engine, const TMasterInfo& master_info,
LOG_INFO("successfully clone tablet")
.tag("signature", req.signature)
.tag("tablet_id", clone_req.tablet_id);
if (engine_task.is_new_tablet()) {
increase_report_version();
finish_task_request.__set_report_version(s_report_version);
}
finish_task_request.__set_finish_tablet_infos(tablet_infos);
}

Expand Down
3 changes: 3 additions & 0 deletions be/src/agent/workload_group_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ void WorkloadGroupListener::handle_topic_info(const std::vector<TopicInfo>& topi
// 4 create and update task scheduler
wg->upsert_task_scheduler(&workload_group_info, _exec_env);

// 5 upsert io throttle
wg->upsert_scan_io_throttle(&workload_group_info);

LOG(INFO) << "[topic_publish_wg]update workload group finish, wg info="
<< wg->debug_string() << ", enable_cpu_hard_limit="
<< (_exec_env->workload_group_mgr()->enable_cpu_hard_limit() ? "true" : "false")
Expand Down
8 changes: 7 additions & 1 deletion be/src/cloud/cloud_base_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,13 @@ Status CloudBaseCompaction::execute_compact() {

using namespace std::chrono;
auto start = steady_clock::now();
RETURN_IF_ERROR(CloudCompactionMixin::execute_compact());
auto res = CloudCompactionMixin::execute_compact();
if (!res.ok()) {
LOG(WARNING) << "fail to do " << compaction_name() << ". res=" << res
<< ", tablet=" << _tablet->tablet_id()
<< ", output_version=" << _output_version;
return res;
}
LOG_INFO("finish CloudBaseCompaction, tablet_id={}, cost={}ms", _tablet->tablet_id(),
duration_cast<milliseconds>(steady_clock::now() - start).count())
.tag("job_id", _uuid)
Expand Down
8 changes: 7 additions & 1 deletion be/src/cloud/cloud_cumulative_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@ Status CloudCumulativeCompaction::execute_compact() {

using namespace std::chrono;
auto start = steady_clock::now();
RETURN_IF_ERROR(CloudCompactionMixin::execute_compact());
auto res = CloudCompactionMixin::execute_compact();
if (!res.ok()) {
LOG(WARNING) << "fail to do " << compaction_name() << ". res=" << res
<< ", tablet=" << _tablet->tablet_id()
<< ", output_version=" << _output_version;
return res;
}
LOG_INFO("finish CloudCumulativeCompaction, tablet_id={}, cost={}ms", _tablet->tablet_id(),
duration_cast<milliseconds>(steady_clock::now() - start).count())
.tag("job_id", _uuid)
Expand Down
8 changes: 7 additions & 1 deletion be/src/cloud/cloud_full_compaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,13 @@ Status CloudFullCompaction::execute_compact() {

using namespace std::chrono;
auto start = steady_clock::now();
RETURN_IF_ERROR(CloudCompactionMixin::execute_compact());
auto res = CloudCompactionMixin::execute_compact();
if (!res.ok()) {
LOG(WARNING) << "fail to do " << compaction_name() << ". res=" << res
<< ", tablet=" << _tablet->tablet_id()
<< ", output_version=" << _output_version;
return res;
}
LOG_INFO("finish CloudFullCompaction, tablet_id={}, cost={}ms", _tablet->tablet_id(),
duration_cast<milliseconds>(steady_clock::now() - start).count())
.tag("job_id", _uuid)
Expand Down
Loading
Loading