]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: allocate enough space for bucket instance id
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 16 Jun 2014 18:48:24 +0000 (11:48 -0700)
committerSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 23:08:40 +0000 (16:08 -0700)
commit3c63601888c5c825f33ffc6797474eb8dc6935a4
tree5fbfc928902edc888d08bfe17934f8901a16c4ce
parent15360a900c8746c28006d6f5c8b093685ddac796
rgw: allocate enough space for bucket instance id

Fixes: #8608
Backport: dumpling, firefly
Bucket instance id is a concatenation of zone name, rados instance id,
and a running counter. We need to allocate enough space to account zone
name length.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit d2e86a66ca55685e04ffbfaa58452af59f381277)
src/rgw/rgw_rados.cc