Repository navigation
merge main - #105
Merged
Merged
merge main#105
Conversation
) forbidden restore database or table to other account Approved by: @iamlinjunhong, @heni02
…aphore.Read (matrixorigin#18463) should hold the semaphore during the Read, otherwise it will not limit the I/O concurrency to S3. Approved by: @fengttt
remove delta location, using object stats instead. Approved by: @daviszhen, @zhangxu19830126, @reusee, @LeftHandCold, @m-schen, @XuPeng-SH, @triump2020, @aunjgr
use the unique package to reduce memory consumption Approved by: @m-schen
Repro matrixorigin#18420 Approved by: @reusee, @zhangxu19830126, @daviszhen, @qingxinhome
…files (matrixorigin#18394) more eviction Approved by: @fengttt
refactor tombstone related code for further usage Approved by: @triump2020, @LeftHandCold
1. close abort vector 2. close object batches Approved by: @XuPeng-SH
运行时展开pipeline,目前对dispatch算子有些特别处理。 现在将相关逻辑移动到compile阶段,并对其进行简化。 好处一是简化运行时的逻辑,方便后续连接pipeline,二是运行之前就能看到完整的pipeline,便于调试问题 修复了一处导致daily run hang住的bug Approved by: @ouyuanning, @fengttt, @aunjgr, @sukki37, @heni02
fix the condition for runtime filters, try to push runtime filters in more cases. fix some comment Approved by: @aunjgr
sometimes the stats for filters are wrong, and top value optimization will be disabled. remove restriction for top value optimization Approved by: @aunjgr, @heni02
fix suspend not effect in main Approved by: @daviszhen, @reusee, @sukki37
修复load local逻辑中函数过早返回而没有读完client发送的数据包 Approved by: @daviszhen
fix unmatched column sizes in a read batch Approved by: @XuPeng-SH
mo的pipeline运行方式有四种,remoterun,mergerun,parallelrun and normalrun. remoterun发送到远端cn执行。 mergerun在协程中运行所有prescope并监控对应返回。 parallelrun在运行时展开scope,normalrun直接从rootOp算子开始call。 以前pipeline断开比较碎,run方法可以写的很简单,现在将pipeline进行连接以后,需要更复杂的run方法。 一条pipeline可能同时经历remoterun->mergerun->parallelrun->normalrun Approved by: @m-schen
refactor insert scope and delete merge scope, reuse some logic to make code more clear. optimize shuffle scopes to break after shuffle operator. remove unused code Approved by: @ouyuanning, @heni02
add UT for S3 Delete Approved by: @XuPeng-SH
remove unused code Approved by: @LeftHandCold, @triump2020
fix data race Approved by: @LeftHandCold
fix bug: make sure vector will be free in some case Approved by: @m-schen, @badboynt1, @aunjgr, @fengttt
fix TestGetInitPort Approved by: @reusee
fix disttae mem leak Approved by: @triump2020, @XuPeng-SH
fix transfer page race Approved by: @XuPeng-SH
…origin#18549) refactor pipelines of broadcast join to reduce pipeline break remove unused codes to make code more clear Approved by: @ouyuanning, @m-schen, @heni02, @aunjgr
Fix test dedup snapshot3, update StartTS instead of SnapshotTS Approved by: @XuPeng-SH
…n#18644) fix a bug in external scan stats which cause performance regression Approved by: @ouyuanning
…igin#18617) 之前对于分区表的insert和delete, 每次使用的batch都是新创建出来的(见原来的GroupByPartitionForDelete和GroupByPartitionForInsert). 现在让它们复用算子自带的buffer Approved by: @m-schen
to ensure the hashtable is not allocating excessive memory. Approved by: @XuPeng-SH, @aunjgr
preinsert, 对于复合主键,cluster by,提前申请内存并复用。 Approved by: @badboynt1, @ouyuanning, @m-schen, @aunjgr
…rigin#18659) 在pipeline重构过程中,为了减少pipeline的打断,尝试让dispatch算子也支持多并发。 但是这个尝试过程中遇到了很多问题。现在先将这一逻辑回退,让dispatch算子保持单并发。 Approved by: @ouyuanning
do not merge persisted tombstones during flush Approved by: @XuPeng-SH
fix build plan pb Approved by: @ouyuanning, @aunjgr
fix data race Approved by: @XuPeng-SH
1. Roiwd and Blockid are using bytes.Compare, while byte order does not indicate the actual order of Rowid and Blockid 2. without this fix, the order of Rowid in the tombstone file is disordered and it will cause data loss during scan 3. Without this fix, the rowid column zone map may be wrong 4. This PR also improve the performance of Blockid.Compare|Objectid.Compare|Rowid.Compare Approved by: @LeftHandCold, @badboynt1, @ouyuanning, @aunjgr, @m-schen, @triump2020
bug fix: Top Operator should not change input batch Approved by: @heni02, @m-schen
Fix and refactor the compilation and analysis of the join nodes: Approved by: @badboynt1, @ouyuanning, @m-schen
…ct (matrixorigin#18675) clear the tables in global stats when logtail re-connect Approved by: @LeftHandCold, @XuPeng-SH
fix select version Approved by: @heni02, @qingxinhome
…can node in plan (matrixorigin#18682) fix a bug that cause load performance regression when there is sink_scan node in plan Approved by: @ouyuanning
The system must complete the catalog cache replay before it can process the push logtail for the three tables. Approved by: @XuPeng-SH
fix non reserved keyword period Approved by: @m-schen
…ler optimizations (matrixorigin#18693) using pointers as function arguments to avoid relying on golang compiler optimizations. The compiler sometimes chooses to allocate memory on the heap for passed parameters, leading to performance degradation <img width="1789" alt="image" src="https://github.com/user-attachments/assets/6a9b6a89-205b-4501-800d-02cb1a6ae167"> The compiler sometimes chooses to allocate memory on the heap for passed parameters, leading to performance degradation <img width="1792" alt="image" src="https://github.com/user-attachments/assets/edfc8d8e-8d12-430a-ac4d-ec421396805d"> Approved by: @LeftHandCold, @triump2020
Add restart txn interface for reuse txn operator to avoid mem allocate. Approved by: @daviszhen, @reusee, @qingxinhome
Prev: <img width="1792" alt="image" src="https://github.com/user-attachments/assets/b5927e30-6a6d-4a30-8d68-8d67b5085f38"> Now: <img width="1792" alt="image" src="https://github.com/user-attachments/assets/72dc4b1c-b9be-4f9a-9709-9f28fdfc72cc"> Approved by: @LeftHandCold, @triump2020
malloc: make decorator types generic malloc: add cacheline padding to ShardedAllocator Approved by: @qingxinhome
refactor merge scheduler Approved by: @aptend, @daviszhen, @XuPeng-SH
…8711) bug fix: unique key/secondary key get incorrect value Approved by: @heni02, @badboynt1, @aunjgr
daviszhen
requested review from
aressu1985,
iamlinjunhong and
ouyuanning
as code owners
September 12, 2024 02:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #
What this PR does / why we need it: