]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: civetweb should use unique request id
authorOrit Wasserman <owasserm@redhat.com>
Thu, 23 Apr 2015 15:36:47 +0000 (17:36 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 29 Apr 2015 23:17:07 +0000 (16:17 -0700)
commit4e84f318de97e592e16493c67491ba0d7f8103a8
tree9191b3da4ad1de7c5c272e3c5a8fda27ebd943b0
parent74c2dc1f3924fa05e2c40f4cceb2ab060493bdfb
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>
(cherry picked from commit c26225980c2fd018e70033a453d635533fcdefec)
src/rgw/rgw_main.cc
src/rgw/rgw_rados.h