Skip to content

Commit

Permalink
Merge pull request #9164 from liewegas/wip-osdmapcrc-hammer
Browse files Browse the repository at this point in the history
osd: dump full map bl at 20 when crc doesn't match
  • Loading branch information
liewegas committed May 18, 2016
2 parents b90c097 + bb5e015 commit b9b5f96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6303,6 +6303,9 @@ void OSD::handle_osd_map(MOSDMap *m)
<< " but failed to encode full with correct crc; requesting"
<< dendl;
clog->warn() << "failed to encode map e" << e << " with expected crc\n";
dout(20) << "my encoded map was:\n";
fbl.hexdump(*_dout);
*_dout << dendl;
delete o;
MMonGetOSDMap *req = new MMonGetOSDMap;
req->request_full(e, last);
Expand Down

0 comments on commit b9b5f96

Please sign in to comment.