Skip to content

Commit

Permalink
[PLAT-12081]Update YBC client and server version to 2.2.0.0-b9
Browse files Browse the repository at this point in the history
Summary:
Upgrade YBC client and server version to 2.2.0.0-b9.
Also add `log_utc_time` gflag to all YBC deployments.
Contains the following fix:
[PLAT-12081] Upgrade glog version and lock all dependencies
PR: yugabyte/ybc#177
```
This PR has the following changes

1.Upgrade the glog library to version 0.5 for the log_utc_time flag.
2.Lock rest of the dependencies to the existing versions. (Versions obtained from vcpkg install --dry-run)
3.Update the vcpkg submodule to latest release.
4.Update the github workflow to checkout a deep copy of vcpkg.git. This is required when building with specific versions in vcpkg.json.

Test:

1.Clean built locally YBC multiple times to make sure the build doesn't break.
2.Ran all the UTs locally and made sure no tests break.
3.Created a RF3 universe with all db nodes having IST timezone.
Replaced the YBC on leader node with my local built YBC.
Verified that backup and restore operations work as expected.
Restarted YBC on leader node with the log_utc_time flag and verified that timings in logs is as expected.
```

Test Plan:
YBC test plan mentioned above.
devitests.

Reviewers: vkumar, kkg

Reviewed By: vkumar

Subscribers: svc_phabricator, yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D39984
  • Loading branch information
asharma-yb committed Nov 18, 2024
1 parent 2b130d7 commit 17cd464
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion managed/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ runPlatform := {
}

libraryDependencies += "org.yb" % "yb-client" % "0.8.95-SNAPSHOT"
libraryDependencies += "org.yb" % "ybc-client" % "2.2.0.0-b8"
libraryDependencies += "org.yb" % "ybc-client" % "2.2.0.0-b9"
libraryDependencies += "org.yb" % "yb-perf-advisor" % "1.0.0-b33"

libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ public static Map<String, String> getYbcFlags(
ybcFlags.put("ysqlsh", getYbHomeDir(providerUUID) + YSQLSH_PATH);
ybcFlags.put("ycqlsh", getYbHomeDir(providerUUID) + YCQLSH_PATH);
ybcFlags.put("log_filename", YBC_LOG_FILENAME);
ybcFlags.put("log_utc_time", "true");

if (taskParam.enableNodeToNodeEncrypt) {
ybcFlags.put(CERT_NODE_FILENAME, node.cloudInfo.private_ip);
Expand Down Expand Up @@ -554,6 +555,7 @@ public static Map<String, String> getYbcFlagsForK8s(
ybcFlags.put("ysqlsh", ybHomeDir + YSQLSH_PATH);
ybcFlags.put("ycqlsh", ybHomeDir + YCQLSH_PATH);
ybcFlags.put("log_filename", YBC_LOG_FILENAME);
ybcFlags.put("log_utc_time", "true");

if (MapUtils.isNotEmpty(userIntent.ybcFlags)) {
ybcFlags.putAll(userIntent.ybcFlags);
Expand Down
2 changes: 1 addition & 1 deletion managed/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ yb {

ybc {
releases {
stable_version = "2.2.0.0-b8"
stable_version = "2.2.0.0-b9"
path = "/opt/yugabyte/ybc/releases"
}
compatible_db_version = "2.15.0.0-b1"
Expand Down

0 comments on commit 17cd464

Please sign in to comment.