Fixes bug #2369. The problem was that sometimes we send the
notification with the un-normalized bucket/obj pair. We
should make sure that we use the caonical name before doing
any cache update.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
return -EIO;
}
- string name = normal_name(info.obj);
+ rgw_bucket bucket;
+ string oid;
+ normalize_bucket_and_obj(info.obj.bucket, info.obj.object, bucket, oid);
+ string name = normal_name(bucket, oid);
switch (info.op) {
case UPDATE_OBJ: