Repository navigation
Merge main to branch - #18234
Merged
ouyuanning merged 17 commits intoAug 19, 2024
Merged
Merge main to branch#18234ouyuanning merged 17 commits into
ouyuanning merged 17 commits into
Conversation
reduce pipelines in value_scan Approved by: @ouyuanning
…8194) fix sharding ranges for workspace uncommitted objects Approved by: @triump2020
原因:未定位到。没有goroutineid。 1.给用到txnclient.new的地方都加了createby。标识是谁创建了事务。leak checker会输出createby到日志。 2.实时更新fprints到txnop 3.backses结束时,rollback其创建的事务。通常事务都提交了。如果有泄露,rollback 会结束事务。 Approved by: @m-schen, @triump2020, @qingxinhome, @XuPeng-SH
negative cpu log too much, ture it as debug log Approved by: @qingxinhome, @daviszhen
support restore sub by cluster snapshot Approved by: @daviszhen, @aressu1985
add metrics for tombstones transfer * transfer tombstone count * transfer tombstone duration * batch transfer tombstone duration Approved by: @aptend, @triump2020, @zhangxu19830126, @XuPeng-SH
fix a bug about isSameCN Approved by: @ouyuanning
fix tombstone data Approved by: @triump2020, @ouyuanning, @qingxinhome
Integrated sharding and logtail Approved by: @triump2020
物理计划侧,pipeline经过重构后,算子流结构由原来的连式结构 更新为树形结构, 因此在调试打印pipeline的代码需要重构,示例如下:
```plpgsql
SQL:SELECT ROUND(SUM(distance), 2) AS total_distance from real_time_position WHERE time_stamp < 1694733800000
Scope 1 (Magic: Merge, mcpu: 1, Receiver: [4])
Pipeline: └── output
└── projection
└── projection
└── merge group
└── merge
PreScopes: {
Scope 1 (Magic: Merge, mcpu: 4, Receiver: [0, 1])
DataSource: cloud_device.real_time_position[time_stamp distance]
Pipeline: └── connect to MergeReceiver 4
└── merge group
└── merge
PreScopes: {
Scope 1 (Magic: Normal, mcpu: 4, Receiver: [])
DataSource: cloud_device.real_time_position[time_stamp distance]
Pipeline: └── connect to MergeReceiver 0
└── group
└── projection
└── filter
└── tablescan
Scope 2 (Magic: Normal, mcpu: 4, Receiver: [])
DataSource: cloud_device.real_time_position[time_stamp distance]
Pipeline: └── connect to MergeReceiver 1
└── group
└── projection
└── filter
└── tablescan
}
}
```
Approved by: @m-schen
) changed: 1. reload the cpu / mem quota from cgroupv2 if `cpu.max`, `memory.max` is modified 2. fill the metadata.CNService with logpb.CNStore's Resource setting. no changed: 1. the cn, which running compile, still use its own `#cpu` to setup others cn `#cpu` (which should be `engine.Node.Mcpu`) Approved by: @zhangxu19830126, @volgariver6, @XuPeng-SH
add Evict method to caches. Approved by: @fengttt
… useless code (matrixorigin#18123) constant.Value is heavy Approved by: @daviszhen, @badboynt1, @iamlinjunhong, @aunjgr, @XuPeng-SH
add logservice append metrics Approved by: @zhangxu19830126, @aptend
为了减少pipeline的打断,需要连接出一些比较长比较复杂的pipeline,导致pipeline执行流程会比之前复杂很多。 为了复用代码,需要让mergeRun和parallelRun可以互相调用,但是需要避免产生死循环 Approved by: @m-schen
fix a transfer error and add ut to ensure everything goes well Approved by: @XuPeng-SH
ouyuanning
requested review from
XuPeng-SH,
aptend,
aunjgr,
badboynt1,
daviszhen,
fengttt,
iamlinjunhong,
m-schen,
qingxinhome,
reusee,
triump2020,
xzxiong and
zhangxu19830126
as code owners
August 19, 2024 10:04
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: