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

enhance: Return more fields in import progress response #31539

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

bigsheeper
Copy link
Contributor

Return more fields in import progress response, include importedRows and totalRows. Additionally, ensure compatibility with the old import progress response by retaining fields of create timestamp and row count.

issue: #31448 #31237 #28521

# This is the 1st commit message:

enhance: Return more in import progress response

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

# The commit message #2 will be skipped:

# support startTs, endTs
#
# Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

# The commit message #3 will be skipped:

# add binlog import intergration test
#
# 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/L Denotes a PR that changes 100-499 lines. area/internal-api labels Mar 22, 2024
@sre-ci-robot sre-ci-robot requested review from cydrain and czs007 March 22, 2024 09:16
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Mar 22, 2024
Copy link
Contributor

mergify bot commented Mar 22, 2024

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

@bigsheeper
Copy link
Contributor Author

/run-cpu-e2e

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 65.38462% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 80.71%. Comparing base (7b38274) to head (d678e59).
Report is 5 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #31539      +/-   ##
==========================================
- Coverage   81.30%   80.71%   -0.59%     
==========================================
  Files         987      972      -15     
  Lines      144687   137695    -6992     
==========================================
- Hits       117631   111138    -6493     
+ Misses      23139    22820     -319     
+ Partials     3917     3737     -180     
Files Coverage Δ
internal/datacoord/import_job.go 100.00% <ø> (ø)
internal/datacoord/import_util.go 85.87% <100.00%> (+0.36%) ⬆️
internal/datacoord/services.go 84.18% <100.00%> (-0.70%) ⬇️
internal/proxy/impl.go 86.19% <57.14%> (-0.16%) ⬇️
...nternal/distributed/proxy/httpserver/handler_v2.go 88.92% <55.55%> (-0.19%) ⬇️
internal/util/importutilv2/option.go 19.35% <0.00%> (-1.34%) ⬇️

... and 43 files with indirect coverage changes

@czs007
Copy link
Collaborator

czs007 commented Mar 24, 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

@czs007
Copy link
Collaborator

czs007 commented Mar 24, 2024

@bigsheeper need pick to branch 2.4

@sre-ci-robot sre-ci-robot merged commit 9a13b98 into milvus-io:master Mar 24, 2024
13 of 14 checks passed
bigsheeper added a commit to bigsheeper/milvus that referenced this pull request Mar 25, 2024
)

Return more fields in import progress response, include importedRows and
totalRows. Additionally, ensure compatibility with the old import
progress response by retaining fields of create timestamp and row count.

issue: milvus-io#31448
milvus-io#31237
milvus-io#28521

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Mar 25, 2024
)

Return more fields in import progress response, include importedRows and
totalRows. Additionally, ensure compatibility with the old import
progress response by retaining fields of create timestamp and row count.

issue: #31448
#31237
#28521

pr: #31539

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/internal-api ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants