[ https://issues.apache.org/jira/browse/CASSANDRA-15931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153201#comment-17153201 ]
Jeremy Hanna commented on CASSANDRA-15931: ------------------------------------------ PR after testing that it matched {{+UseG1GC}} but not {{-UseG1GC}}: https://github.com/apache/cassandra/pull/667 > USING_G1 is incorrectly set in cassandra-env.sh if G1 is explicitly disabled > ---------------------------------------------------------------------------- > > Key: CASSANDRA-15931 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15931 > Project: Cassandra > Issue Type: Bug > Components: Local/Startup and Shutdown > Reporter: Jeremy Hanna > Assignee: Jeremy Hanna > Priority: Normal > Time Spent: 10m > Remaining Estimate: 0h > > {code} > echo $JVM_OPTS | grep -q UseG1GC > USING_G1=$? > {code} > This code will set {{USING_G1}} to {{0}} if G1 is explicitly enabled > ({{+UseG1GC}}) *or* explicitly disabled ({{-UseG1GC}}), as found on > CASSANDRA-15839. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org