From 4d24bbc5f6bafc60c761c108c9f2612e1f01c3b1 Mon Sep 17 00:00:00 2001 From: Nikhil Chandrappa Date: Fri, 20 Sep 2024 16:02:59 +0000 Subject: [PATCH] [BACKPORT 2.20][#24029] Update the callhome diagnostics not to send gflags details. Summary: Currently, collecting gflags information is redundant data between yugabyted and YBDB callhome. It was decided to not send gflags information from yugabyted, instead correlated the data using cluster_uuid, node_uuid, server_type for fetching the gflags details. Original commit: 0c84dbe7070a8b308f86889d4e3469a593975bcb / D38263 Test Plan: manual test Reviewers: sgarg-yb, djiang Reviewed By: djiang Subscribers: djiang, yugabyted-dev Differential Revision: https://phorge.dev.yugabyte.com/D38278 --- bin/yugabyted | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/yugabyted b/bin/yugabyted index 0769bdf3086b..67ae0e1cb5de 100755 --- a/bin/yugabyted +++ b/bin/yugabyted @@ -5349,8 +5349,8 @@ class Diagnostics(object): payload = { "data_dir_size": self.get_dir_size(self.configs.saved_data.get("data_dir")), "num_cpus": multiprocessing.cpu_count(), - "master_flags": self.configs.saved_data.get("master_flags"), - "tserver_flags": self.configs.saved_data.get("tserver_flags"), + # "master_flags": self.configs.saved_data.get("master_flags"), + # "tserver_flags": self.configs.saved_data.get("tserver_flags"), "is_docker" : str(os.path.exists("/.dockerenv")) } if Diagnostics.first_install is not None: