-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
[DOCS] Update reference documentation that mentions CMS #50542
Conversation
Pinging @elastic/es-core-infra (:Core/Infra/Settings) |
Pinging @elastic/es-docs (>docs) |
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.
Thanks! Left a suggestion for rephrasing in case it makes things clearer.
@@ -187,7 +187,7 @@ you must not start Elasticsearch with the serial collector (whether it's | |||
from the defaults for the JVM that you're using, or you've explicitly | |||
specified it with `-XX:+UseSerialGC`). Note that the default JVM | |||
configuration that ships with Elasticsearch configures Elasticsearch to | |||
use the CMS collector. | |||
use the CMS collector prior to JDK 14 and to use the G1GC collector with JDK 14+. |
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.
how about:
use the G1GC collector starting with JDK 14 onwards and defaults to the CMS collection for older JDK versions.
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.
I agree that we should reorder this so that G1GC comes first. However, I think we should probably break this into two sentences for better clarity.
use the G1GC garbage collector with JDK14 and later versions. For earlier JDK versions, the configuration defaults to the CMS collector.
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.
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.
I left a suggestion that might help with clarity a bit. Please let me know if you have any questions.
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.
LGTM. Thanks @ebadyano.
Thank you for the review @jrodewig! |
@jrodewig This PR has not been backported to 7.x Our current documentation in https://www.elastic.co/guide/en/elasticsearch/reference/current/_use_serial_collector_check.html still mentions
which is incorrect for versions 7.7 or above and needs to be updated with the content of this PR. Please, could you help address this? |
) Relates to #46973 Co-authored-by: Evgenia Badyanova <[email protected]>
) Relates to #46973 Co-authored-by: Evgenia Badyanova <[email protected]>
Thanks @kostasb. I've backported these changes. |
Cloud documentation also refers to CMS. It also mentions the |
Thanks @tsouza. I've created an issue to address this in our cloud docs. |
Relates to #46973