milvus icon indicating copy to clipboard operation
milvus copied to clipboard

Use log id instead of log path of the binlog before persisting

Open jaime0815 opened this issue 3 years ago • 23 comments

/kind improvement Signed-off-by: yun.zhang [email protected]

jaime0815 avatar Sep 08 '22 13:09 jaime0815

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

mergify[bot] avatar Sep 08 '22 13:09 mergify[bot]

Codecov Report

Merging #19123 (fd94f0d) into master (2cfacbb) will increase coverage by 0.02%. The diff coverage is 87.79%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #19123      +/-   ##
==========================================
+ Coverage   80.47%   80.49%   +0.02%     
==========================================
  Files         675      676       +1     
  Lines       94516    94616     +100     
==========================================
+ Hits        76064    76164     +100     
+ Misses      15221    15220       -1     
- Partials     3231     3232       +1     
Impacted Files Coverage Δ
internal/datacoord/server.go 76.80% <69.23%> (ø)
internal/metastore/kv/datacoord/kv_catalog.go 83.81% <84.53%> (+4.58%) :arrow_up:
internal/datacoord/meta.go 87.98% <87.50%> (+0.03%) :arrow_up:
internal/util/etcd/etcd_util.go 87.75% <93.87%> (+6.12%) :arrow_up:
internal/datanode/allocator.go 100.00% <100.00%> (ø)
internal/datanode/binlog_io.go 95.26% <100.00%> (ø)
internal/datanode/data_node.go 82.27% <100.00%> (ø)
internal/datanode/flush_manager.go 93.78% <100.00%> (ø)
internal/metastore/kv/rootcoord/kv_catalog.go 86.32% <100.00%> (-0.18%) :arrow_down:
internal/querycoordv2/handlers.go 73.12% <100.00%> (+1.23%) :arrow_up:
... and 19 more

codecov[bot] avatar Sep 08 '22 14:09 codecov[bot]

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

mergify[bot] avatar Sep 09 '22 03:09 mergify[bot]

rerun ut

jaime0815 avatar Sep 09 '22 05:09 jaime0815

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

mergify[bot] avatar Sep 09 '22 09:09 mergify[bot]

One thing we could do is just to clean up all segment meta into new format when datacoord upgrade to new version, but it definitely take a very long time to do the transformation, the code itself could be much clean

xiaofan-luan avatar Sep 09 '22 10:09 xiaofan-luan

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

mergify[bot] avatar Sep 09 '22 10:09 mergify[bot]

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

mergify[bot] avatar Sep 09 '22 11:09 mergify[bot]

One thing we could do is just to clean up all segment meta into new format when datacoord upgrade to new version, but it definitely take a very long time to do the transformation, the code itself could be much clean

old format segment meta will not clean up when upgrading, as you said the disadvantage is uncontrollable. now it converts to the new format when compacting, but this solution also has a drawback that brings some unnecessary update operations on the etcd,

jaime0815 avatar Sep 09 '22 14:09 jaime0815

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

mergify[bot] avatar Sep 09 '22 15:09 mergify[bot]

/run-cpu-e2e

jaime0815 avatar Sep 09 '22 15:09 jaime0815

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

mergify[bot] avatar Sep 16 '22 09:09 mergify[bot]

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

mergify[bot] avatar Sep 16 '22 09:09 mergify[bot]

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

mergify[bot] avatar Sep 16 '22 15:09 mergify[bot]

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

mergify[bot] avatar Sep 17 '22 00:09 mergify[bot]

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

mergify[bot] avatar Sep 17 '22 00:09 mergify[bot]

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

mergify[bot] avatar Sep 19 '22 02:09 mergify[bot]

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

mergify[bot] avatar Sep 19 '22 02:09 mergify[bot]

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

mergify[bot] avatar Sep 19 '22 03:09 mergify[bot]

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

mergify[bot] avatar Sep 19 '22 07:09 mergify[bot]

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

mergify[bot] avatar Sep 19 '22 08:09 mergify[bot]

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

mergify[bot] avatar Sep 22 '22 11:09 mergify[bot]

/lgtm

xiaofan-luan avatar Sep 23 '22 09:09 xiaofan-luan

/approve

xiaofan-luan avatar Sep 23 '22 09:09 xiaofan-luan

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jaime0815, xiaofan-luan

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 avatar Sep 23 '22 09:09 sre-ci-robot

/lgtm

xiaofan-luan avatar Sep 25 '22 07:09 xiaofan-luan