]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/dedup: Prevent the dup-counter from wrapping around after it reaches 64K of ident... wip_dedup_high_dup_count_v1
authorGabriel BenHanokh <gbenhano@redhat.com>
Mon, 24 Nov 2025 08:02:22 +0000 (08:02 +0000)
committerGabriel BenHanokh <gbenhano@redhat.com>
Fri, 12 Dec 2025 06:36:08 +0000 (06:36 +0000)
commit6feba14e838f8f5855207e271cc511f0afd49fb2
tree5c732d14ca998235da1e3b7e4ce0b6ae1b12d60a
parent61ac7cb2320e1d798501ffae5c3238c64b775c4c
rgw/dedup: Prevent the dup-counter from wrapping around after it reaches 64K of identical copies.

Limit dedup from a single SRC to 128 Target copies to prevent OMAP size
from growing out of control

Resolves: rhbz#2415656
Resolves: rhbz#2416043

Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
src/rgw/driver/rados/rgw_dedup.cc
src/rgw/driver/rados/rgw_dedup_table.cc
src/rgw/driver/rados/rgw_dedup_table.h
src/rgw/driver/rados/rgw_dedup_utils.cc
src/rgw/driver/rados/rgw_dedup_utils.h
src/test/rgw/dedup/test_dedup.py