Skip to content
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

[TFA] config restore_debug_interval supported from squid onwards #4401

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions utility/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,11 @@ def set_config_param(node):
rgw_process_name = rgw_process[0].split()[0]

# add the configuration/s to be set on service
configs = [
"rgw_max_objs_per_shard 5",
"rgw_lc_debug_interval 30",
"rgw_restore_debug_interval 30",
]
configs = ["rgw_max_objs_per_shard 5", "rgw_lc_debug_interval 30"]
ceph_version = node.exec_command(cmd="sudo ceph version")
ceph_version = ceph_version[0].split()[2].split(".")[0]
if int(ceph_version) >= int(19):
configs += ["rgw_restore_debug_interval 30"]
for config_cmd in configs:
node.exec_command(cmd=f"ceph config set client.{rgw_process_name} {config_cmd}")

Expand Down