]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: civetweb should use unique request id 4438/head
authorOrit Wasserman <owasserm@redhat.com>
Thu, 23 Apr 2015 15:36:47 +0000 (17:36 +0200)
committerOrit Wasserman <owasserm@redhat.com>
Thu, 23 Apr 2015 17:36:35 +0000 (19:36 +0200)
commitc26225980c2fd018e70033a453d635533fcdefec
treea7df86c4f76d07678856c01ba14eed7ce9fc2525
parent2e8d476e7ab8df7822dc058c569b0d0472eaa587
rgw: civetweb should use unique request id

max_req_id was moved to RGWRados and changed to atomic64_t.

The same request id resulted in gc giving the same idtag to all objects
resulting in a leakage of rados objects. It only kept the last deleted object in
it's queue, the previous objects were never freed.

Fixes: 10295
Backport: Hammer, Firefly

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
src/rgw/rgw_main.cc
src/rgw/rgw_rados.h