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

feat: Add import reader for binlog #28910

Merged
merged 44 commits into from
Jan 5, 2024

Conversation

bigsheeper
Copy link
Contributor

This PR defines the new import reader interfaces and implement a binlog reader for import.

issue: #28521

@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Dec 1, 2023
@bigsheeper bigsheeper mentioned this pull request Dec 1, 2023
12 tasks
@mergify mergify bot added dco-passed DCO check passed. kind/feature Issues related to feature request from users labels Dec 1, 2023
Copy link
Contributor

mergify bot commented Dec 4, 2023

@bigsheeper E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@bigsheeper bigsheeper changed the title feat: Add binlog reader for import feat: Add import reader for binlog Dec 4, 2023
Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Attention: 177 lines in your changes are missing coverage. Please review.

Comparison is base (99e0f1e) 83.72% compared to head (1bd6e13) 83.66%.
Report is 16 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #28910      +/-   ##
==========================================
- Coverage   83.72%   83.66%   -0.07%     
==========================================
  Files         679      685       +6     
  Lines      108623   109117     +494     
==========================================
+ Hits        90949    91292     +343     
- Misses      14361    14465     +104     
- Partials     3313     3360      +47     
Files Coverage Δ
internal/datacoord/handler.go 79.85% <100.00%> (+0.29%) ⬆️
internal/datanode/syncmgr/storage_serializer.go 89.92% <100.00%> (+0.07%) ⬆️
internal/datanode/syncmgr/storage_v2_serializer.go 80.12% <100.00%> (+0.12%) ⬆️
internal/datanode/writebuffer/l0_write_buffer.go 70.37% <100.00%> (+2.37%) ⬆️
internal/datanode/writebuffer/write_buffer.go 92.07% <100.00%> (-1.33%) ⬇️
internal/proxy/meta_cache.go 89.64% <100.00%> (-0.18%) ⬇️
internal/proxy/task.go 85.48% <100.00%> (ø)
internal/proxy/task_delete.go 85.98% <100.00%> (ø)
internal/proxy/task_index.go 75.74% <100.00%> (ø)
internal/proxy/task_query.go 79.26% <100.00%> (ø)
... and 30 more

... and 17 files with indirect coverage changes

Copy link
Contributor

mergify bot commented Dec 4, 2023

@bigsheeper ut workflow job failed, comment rerun ut can trigger the job again.

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@sre-ci-robot sre-ci-robot added size/XL Denotes a PR that changes 500-999 lines. and removed size/L Denotes a PR that changes 100-499 lines. labels Dec 5, 2023
Copy link
Contributor

mergify bot commented Dec 5, 2023

@bigsheeper ut workflow job failed, comment rerun ut can trigger the job again.

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Copy link
Contributor

mergify bot commented Dec 25, 2023

@bigsheeper E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 25, 2023

@bigsheeper ut workflow job failed, comment rerun ut can trigger the job again.

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Copy link
Contributor

mergify bot commented Jan 2, 2024

@bigsheeper E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@bigsheeper
Copy link
Contributor Author

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Jan 2, 2024
@mergify mergify bot removed the ci-passed label Jan 4, 2024
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@bigsheeper
Copy link
Contributor Author

rerun ut

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
if err != nil {
return nil, err
}
fieldData, err := fr.Next(-1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

fr.Next() ?
you can modify this in next pr?

@czs007
Copy link
Collaborator

czs007 commented Jan 5, 2024

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bigsheeper, czs007

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 3561586 into milvus-io:master Jan 5, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/feature Issues related to feature request from users lgtm size/XXL Denotes a PR that changes 1000+ lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants