From 83189af8e663d867649d003afaa9d1cf09c88391 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 --- 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 d9111ffeb07..1a0df1c7fbc 100644 --- a/src/common/options/rgw.yaml.in +++ b/src/common/options/rgw.yaml.in @@ -474,7 +474,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