-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IGNITE-26209 Add metrics to improve node network unavailability detection #12339
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
base: master
Are you sure you want to change the base?
Conversation
855a8e1 to
bf092f5
Compare
|
| * @return {@code this} for chaining. | ||
| */ | ||
| @IgniteSpiConfiguration(optional = true) | ||
| public TcpCommunicationSpi setMessageQueueWarningSize(int msgQueueWarnSize) { |
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.
queueWarningSize and queueLimit looks coupled to me.
If we make queueLimit bigger then warning size must become bigger too.
Can we make this new proeprty double?
So queueWarningSize depends on queueLimit.
and actual warning limit will be equal to queueLimit * warningFactor
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.
Do we want to make this new API stable from the first merge?
Do we need IgniteExperimental annotation here?
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.
These parameters solve different problems. Queue limit - it's an OOM protection, warning size - it's an diagnostic. They can be set independently, for example, queue limit can be 0, while warning size more than 0, so warning size it's not a factor of queue limit.
About IgniteExperimental - it's just a one parameter for log warning, not an entire subsystem, I think setting annotation for each minor fix is overkill.
...ore/src/main/java/org/apache/ignite/spi/communication/tcp/internal/GridNioServerWrapper.java
Outdated
Show resolved
Hide resolved
|




Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summarywhereXXXX- number of JIRA issue.(see the Maintainers list)
the
green visaattached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.