]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Don't segfault on datalog trim
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 13 Jul 2021 20:05:47 +0000 (16:05 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 14 Jul 2021 12:43:32 +0000 (08:43 -0400)
commit97305f03c16db1cfaceef04a74ee510bc1fc1e80
tree90b96986e7ce9f14881be30f3b9ee53ac76bae64
parent89caa6269288edd00acebaf9735768d3655b7933
rgw: Don't segfault on datalog trim

Synchronous (or yielded, basically other-than AioCompletion trim)
would try to dereference the past-the-end iterator if we were trimming
to a point in the most recent generation.

https://tracker.ceph.com/issues/51661
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_datalog.cc