]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushWrapper: fix decoding of choose_args weight-set
authorSage Weil <sage@redhat.com>
Thu, 13 Jul 2017 21:33:53 +0000 (17:33 -0400)
committerSage Weil <sage@redhat.com>
Fri, 21 Jul 2017 17:50:48 +0000 (13:50 -0400)
commit5430c0d944893239c27329459ab503a275f3dabd
treecfde104eef6604028d47a93270cd46c84643796b
parent9fdd2455d3edb842d4b0cc9bffef66253172e5d3
crush/CrushWrapper: fix decoding of choose_args weight-set

Assert that ids_size matches the bucket while we are at it.

Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.cc