]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: allow larger payload for period commit 15447/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 5 Apr 2017 18:20:20 +0000 (14:20 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Jul 2017 13:54:30 +0000 (15:54 +0200)
commit9a5425d5de16045b57c1307cb3b8263c739909b1
tree9471f791d8e7a7e52425950bd4ec1e491d411d3a
parent7b10d629ae32122b267486fe9e176f5cd0e330cf
rgw: allow larger payload for period commit

testing with 3 zonegroups and 3 zones each, the period json grew larger
than 4k and caused decode failures on period commit

updated to use the new config variable rgw_max_put_param_size

Fixes: http://tracker.ceph.com/issues/19505
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7f2871fe59d933b03f37fde40f1781b2320d0d50)

Conflicts:
    src/rgw/rgw_rest_realm.cc - in RGWOp_Period_Post::execute(), set max_size
        explicitly instead of backporting rgw_max_put_param_size
src/rgw/rgw_rest_realm.cc