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

fix: aggregator cleanup #1919

Merged
merged 10 commits into from
Jun 8, 2022
Merged

Conversation

nautaa
Copy link
Collaborator

@nautaa nautaa commented Jun 3, 2022

@github-actions github-actions bot added the storage-engine openmldb storage engine. nameserver & tablet label Jun 3, 2022
@nautaa nautaa self-assigned this Jun 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2022

Linux Test Report

       57 files       193 suites   1h 2m 25s ⏱️
  8 678 tests   8 674 ✔️ 4 💤 0
12 749 runs  12 745 ✔️ 4 💤 0

Results for commit ff757ac.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Jun 3, 2022

Codecov Report

Merging #1919 (ff757ac) into main (bd121c6) will increase coverage by 0.04%.
The diff coverage is 92.94%.

@@             Coverage Diff              @@
##               main    #1919      +/-   ##
============================================
+ Coverage     75.73%   75.77%   +0.04%     
  Complexity      347      347              
============================================
  Files           613      613              
  Lines        117343   117484     +141     
  Branches       1009     1009              
============================================
+ Hits          88868    89023     +155     
+ Misses        28266    28252      -14     
  Partials        209      209              
Impacted Files Coverage Δ
src/sdk/sql_cluster_router.h 83.33% <ø> (ø)
src/storage/aggregator.cc 75.21% <ø> (ø)
src/sdk/sql_cluster_router.cc 54.81% <67.30%> (-0.28%) ⬇️
src/tablet/tablet_impl.cc 59.31% <91.66%> (+0.08%) ⬆️
src/cmd/sql_cmd_test.cc 99.60% <100.00%> (+0.02%) ⬆️
src/nameserver/name_server_impl.cc 42.87% <100.00%> (+<0.01%) ⬆️
src/nameserver/system_table.h 96.73% <100.00%> (+0.03%) ⬆️
src/storage/aggregator.h 100.00% <100.00%> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd121c6...ff757ac. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2022

SDK Test Report

  75 files    75 suites   5m 40s ⏱️
163 tests 161 ✔️ 2 💤 0
204 runs  202 ✔️ 2 💤 0

Results for commit ff757ac.

♻️ This comment has been updated with latest results.

@nautaa nautaa requested review from zhanghaohit and dl239 June 6, 2022 01:43
@aceforeverd
Copy link
Collaborator

Bugs (0.5.x)

return false;
}
if (rs->Size() != 1) {
status->msg = "duplicate records generate with aggr table name: " + tableInfo.name();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move these check code before drop offline table

Copy link
Collaborator

@zhanghaohit zhanghaohit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhanghaohit zhanghaohit merged commit 0b38226 into 4paradigm:main Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
storage-engine openmldb storage engine. nameserver & tablet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate records in PRE_AGG_META_INFO Cleanup pre-aggr table and meta info
4 participants