Repository navigation
fix heartbeat context deadline not set - #11968
Merged
Merged
Conversation
1 task done
fengttt
reviewed
Oct 2, 2023
fengttt
left a comment
Contributor
There was a problem hiding this comment.
Is this the right fix? Should we hide the nil ptr or really set the context?
zhangxu19830126
requested review from
nnsgmsone
and removed request for
nnsgmsone
October 7, 2023 01:39
Contributor
Author
Because creating a deadline ctx requires allocating extra memory, a problem caused by internal heartbeat messages, this is done to avoid giving a deadline ctx to allocate memory and timers when heartbeat messages are sent. |
nnsgmsone
approved these changes
Oct 7, 2023
sukki37
pushed a commit
that referenced
this pull request
Oct 7, 2023
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue #11964 #11957 ## What this PR does / why we need it: Fix context deadline not set when send heartbeat message Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
sukki37
pushed a commit
that referenced
this pull request
Oct 8, 2023
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue #11964 #11957 ## What this PR does / why we need it: Fix context deadline not set when send heartbeat message Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#11964 matrixorigin#11957 ## What this PR does / why we need it: Fix context deadline not set when send heartbeat message Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #11964 #11957
What this PR does / why we need it:
Fix context deadline not set when send heartbeat message