]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: rgw_rados: set_attrs now sets the same time for BI & object 17400/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 31 Aug 2017 11:39:13 +0000 (13:39 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 31 Aug 2017 11:49:14 +0000 (13:49 +0200)
commit87e8e89fe11fa805739a2b85d1b009424641fa4e
tree75b2400211d71468bfc68c409636ea716ed7ff51
parent270f1edaae41d0a9eb17e5c37295621f9259e8a0
rgw: rgw_rados: set_attrs now sets the same time for BI & object

`RGWRados::set_attrs()` used to set slightly different mtimes for the
object and in the bucket dir entry as we do an object write and set the
time at bucket index as the time at that point. Fix this by using the
setting the same mtime for the object as well.

Fixes: http://tracker.ceph.com/issues/21200
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_rados.cc