]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: clear out bufferlist prior to listing mirror images 28123/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:01:23 +0000 (15:01 -0400)
commit32c82d30400ce6c1f7712c8c235e07c92bd734c3
tree39c71d0d4100a68fcb1a5300c38f35f5ab6fa932
parent2bb04a30ed0a4331092a8633c716caa0fdd2ea61
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