]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: read_user_buckets() fix redone
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 20 Jan 2012 20:54:14 +0000 (12:54 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 20 Jan 2012 20:56:36 +0000 (12:56 -0800)
commitaea6a305e61c1fa54828b71eff29070c3ff98cc9
treefcad0a1cf59623acbce98c145311d77b6ca08332
parentfdaf91e250dda93f887c0508f0867bab58cd6e8e
rgw: read_user_buckets() fix redone

The problem with the original fix is that it wasn't atomic. Going back
to the original inefficient (though atomic) method. We should limit
the number of buckets per user anyway, and shouldn't get into a point
where this code is actually execised.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/rgw/rgw_user.cc