]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: make unique part of log file both random and incremental 63959/head
authorYuval Lifshitz <ylifshit@ibm.com>
Mon, 16 Jun 2025 11:05:25 +0000 (11:05 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Wed, 18 Jun 2025 15:08:46 +0000 (15:08 +0000)
commitfa2bc49e2e8fb7a1d353a4b741e8d4f1edb9807d
tree1e1bb0d051614278d42a19d57e532a878ca12b05
parent3fb436a0c703417a3a762503881c401af1a1b4d3
rgw/logging: make unique part of log file both random and incremental

new format will be: 10 char incremental count (so 32bit uint fit in it).
and 6 char alphanumeric random part.
this should fix possible race conditions in case of multisite

Fixes: https://tracker.ceph.com/issues/71608
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
doc/radosgw/bucket_logging.rst
src/rgw/rgw_bucket_logging.cc