]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: cls: ceph::timespan tag_timeout wrong units 16026/head
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 29 Jun 2017 19:19:36 +0000 (15:19 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 29 Jun 2017 19:35:04 +0000 (15:35 -0400)
commite6763ebd6124c1b4736c5c7850077df7644bc8f5
tree47354f2856614e4bfe9c6d35046c56590da87298
parenta23c7e5505b64eabde5a49a5268a373c7430c2cd
rgw: cls: ceph::timespan tag_timeout wrong units

In rgw_dir_suggest(), the ceph::timespan tag_timeout is intended
to be a value in seconds, but has been taken as something much
smaller (millis?).  The incorrect time scale likely induces a race
condition with object deletes.

Fixes: http://tracker.ceph.com/issues/20380
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/cls/rgw/cls_rgw.cc