From 75ca33aad3479ee7db5821ba035f444e0b5b3160 Mon Sep 17 00:00:00 2001 From: "Matthew N. Heler" Date: Tue, 16 Jun 2026 13:07:59 -0500 Subject: [PATCH] rgw/lc: Warn against changing rgw_lc_max_objs once lifecycle is in use Each bucket's lifecycle entry is hashed onto a shard by this count, so changing it remaps existing entries and can leave duplicates behind. Signed-off-by: Matthew N. Heler (cherry picked from commit 83189af8e663d867649d003afaa9d1cf09c88391) --- src/common/options/rgw.yaml.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/options/rgw.yaml.in b/src/common/options/rgw.yaml.in index 90ea9f15652..64a24526ca6 100644 --- a/src/common/options/rgw.yaml.in +++ b/src/common/options/rgw.yaml.in @@ -455,7 +455,8 @@ options: level: advanced desc: Number of lifecycle data shards long_desc: Number of RADOS objects to use for storing lifecycle index. This affects - concurrency of lifecycle maintenance, as shards can be processed in parallel. + concurrency of lifecycle maintenance, as shards can be processed in parallel. Do not + change this value after deployment unless `radosgw-admin lc list` is empty. default: 32 services: - rgw -- 2.47.3