Skip to content

Commit

Permalink
[PLAT-15209] Fix version check for new install flags
Browse files Browse the repository at this point in the history
Summary: The stable and preview versions are interchanged in the check.

Test Plan: Create a 2.25.0.0-bxx universe, verify that new install flags are set as expected

Reviewers: cwang

Reviewed By: cwang

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D38691
  • Loading branch information
iSignal committed Oct 7, 2024
1 parent 57ff69d commit ef8d045
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2469,7 +2469,7 @@ private void maybeSetMemoryLimitGflags(
if (null == primaryCluster
|| runtimeConfigFactory.forCustomer(customer).getBoolean("yb.cloud.enabled")
|| Util.compareYBVersions(
primaryCluster.userIntent.ybSoftwareVersion, "2.23.0.0", "2024.1.0.0", true)
primaryCluster.userIntent.ybSoftwareVersion, "2024.1.0.0", "2.23.0.0", true)
< 0
|| !primaryCluster.userIntent.providerType.isVM()
|| primaryCluster.userIntent.dedicatedNodes) {
Expand Down

0 comments on commit ef8d045

Please sign in to comment.