This bump from 5 to 6 is done in the same commit which adds that const char *h parameter to the constructor — but you haven't added a data member, and you aren't using the new parameter. Did you mean to add the region to the rgw_bucket struct? (Indications are that you did; the commit message is "rgw: store region in bucket info --- only handle requests that come to buckets stored in correct region.")