]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: clear out bufferlist prior to listing mirror images 28124/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 23 Apr 2019 12:24:52 +0000 (08:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 May 2019 19:03:05 +0000 (15:03 -0400)
commitb9adc33dfc01b86e7006f1078cc84b3f23083815
tree6b0e9dd494c339acaa5fa1c15a8a6bada95165de
parentf13315d0d23ca9175ecf1a1df045887614e197f1
rbd-mirror: clear out bufferlist prior to listing mirror images

The second call to list mirrored images will fail deep within the
msgr code due to a "bad crc in data" error.

Fixes: http://tracker.ceph.com/issues/39407
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7c5dcf63f3b15692fd3f5a19c1562b195cd9ec47)
src/tools/rbd_mirror/pool_watcher/RefreshImagesRequest.cc