-
Notifications
You must be signed in to change notification settings - Fork 3k
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: refine exists log print with ctx #38080
enhance: refine exists log print with ctx #38080
Conversation
@tinswzy cpp-unit-test check failed, comment |
@tinswzy E2e jenkins job failed, comment |
rerun cpp-unit-test |
/run-cpu-e2e |
rerun ut |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #38080 +/- ##
===========================================
- Coverage 78.81% 68.92% -9.90%
===========================================
Files 1368 292 -1076
Lines 191697 26153 -165544
===========================================
- Hits 151088 18025 -133063
+ Misses 35118 8128 -26990
+ Partials 5491 0 -5491
|
rerun ut |
1 similar comment
rerun ut |
57e8238
to
03703cc
Compare
@tinswzy E2e jenkins job failed, comment |
/run-cpu-e2e |
rerun ut |
/run-cpu-e2e |
03703cc
to
e3d6222
Compare
@tinswzy E2e jenkins job failed, comment |
/run-cpu-e2e |
rerun ut |
2 similar comments
rerun ut |
rerun ut |
e3d6222
to
7699a7d
Compare
ef66a96
to
52da0b3
Compare
@tinswzy E2e jenkins job failed, comment |
/run-cpu-e2e |
216149c
to
2a064e9
Compare
2a064e9
to
f603891
Compare
@tinswzy E2e jenkins job failed, comment |
/run-cpu-e2e |
5bd70fa
to
f3503a7
Compare
Signed-off-by: tinswzy <[email protected]>
f3503a7
to
22ee07e
Compare
@@ -317,7 +317,7 @@ func (sa *segIDAssigner) syncSegments() (bool, error) { | |||
strconv.FormatInt(paramtable.GetNodeID(), 10)).Observe(float64(len(sa.segReqs))) | |||
sa.segReqs = nil | |||
|
|||
log.Debug("syncSegments call dataCoord.AssignSegmentID", zap.Stringer("request", req)) | |||
log.Ctx(context.TODO()).Debug("syncSegments call dataCoord.AssignSegmentID", zap.Stringer("request", req)) | |||
|
|||
resp, err := sa.dataCoord.AssignSegmentID(context.Background(), req) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should use the current method's ctx as a parameter for remote RPC in component communication.
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: tinswzy 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 |
/lgtm |
issue: #35917
Refines exists log print with ctx