]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/logging: make unique part of log file both random and incremental
authorYuval Lifshitz <ylifshit@ibm.com>
Mon, 16 Jun 2025 11:05:25 +0000 (11:05 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 23 Jun 2025 15:27:28 +0000 (15:27 +0000)
commit36fecf6d1ec3a42f73effea31f5f139d1a0be4e8
tree24e3fb8c4a3bdfc69deb487298ffd95aae0e7350
parent36b58a378f042537d7cab224267e0df191cd1b09
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>
(cherry picked from commit fa2bc49e2e8fb7a1d353a4b741e8d4f1edb9807d)
doc/radosgw/bucket_logging.rst
src/rgw/rgw_bucket_logging.cc