https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2014-06-09T04:29:44ZCeph rbd - Bug #8564: osd cannot be restarted when leveldb is used as backendhttps://tracker.ceph.com/issues/8564?journal_id=370092014-06-09T04:29:44ZHaomai Wanghaomaiwang@gmail.com
<ul></ul><p>Hi xinxin,</p>
<p>Thanks for your report, you hint a known bug which will solved in (<a class="external" href="https://github.com/ceph/ceph/pull/1649">https://github.com/ceph/ceph/pull/1649</a>) branch.</p>
<p>But I have cherry-picked the fix patches and push to PR. You can see commit message to know why(<a class="external" href="https://github.com/yuyuyu101/ceph/commit/50c8fee8fda42f78ea563cab6229bdf0af3c8c99">https://github.com/yuyuyu101/ceph/commit/50c8fee8fda42f78ea563cab6229bdf0af3c8c99</a>). The PR is <a class="external" href="https://github.com/ceph/ceph/pull/1941">https://github.com/ceph/ceph/pull/1941</a></p>
<p>And the log shows the op dump:
{ "ops": [
{ "op_num": 0,<br /> "op_name": "remove",<br /> "collection": "3.27_head",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3"},
{ "op_num": 1,<br /> "op_name": "mkcoll",<br /> "collection": "3.27_TEMP"},
{ "op_num": 2,<br /> "op_name": "remove",<br /> "collection": "3.27_TEMP",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3"},
{ "op_num": 3,<br /> "op_name": "touch",<br /> "collection": "3.27_head",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3"},
{ "op_num": 4,<br /> "op_name": "omap_setheader",<br /> "collection": "3.27_head",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3",<br /> "header_length": "0"},
{ "op_num": 5,<br /> "op_name": "write",<br /> "collection": "3.27_head",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3",<br /> "length": 4194304,<br /> "offset": 0,<br /> "bufferlist length": 4194304},
{ "op_num": 6,<br /> "op_name": "omap_setkeys",<br /> "collection": "3.27_head",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3",<br /> "attr_lens": {}},
{ "op_num": 7,<br /> "op_name": "setattrs",<br /> "collection": "3.27_head",<br /> "oid": "97a47827\/rbd_data.11756b8b4567.00000000000015f7\/head\/\/3",<br /> "attr_lens": { "_": 257,<br /> "snapset": 31}},
{ "op_num": 8,<br /> "op_name": "omap_setkeys",<br /> "collection": "meta",<br /> "oid": "16ef7597\/infos\/head\/\/-1",<br /> "attr_lens": { "3.27_epoch": 4,<br /> "3.27_info": 684}}]}<br />/</p> rbd - Bug #8564: osd cannot be restarted when leveldb is used as backendhttps://tracker.ceph.com/issues/8564?journal_id=370102014-06-09T04:30:48ZHaomai Wanghaomaiwang@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Assignee</strong> set to <i>Haomai Wang</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Urgent</i></li><li><strong>Source</strong> changed from <i>other</i> to <i>Community (dev)</i></li></ul> rbd - Bug #8564: osd cannot be restarted when leveldb is used as backendhttps://tracker.ceph.com/issues/8564?journal_id=370392014-06-09T22:48:46ZXinxin Shuxinxin.shu5040@gmail.com
<ul></ul><p>hi haomai , is <a class="external" href="https://github.com/ceph/ceph/pull/1941">https://github.com/ceph/ceph/pull/1941</a> PR the fix for this bug , while <a class="external" href="https://github.com/ceph/ceph/pull/1941">https://github.com/ceph/ceph/pull/1941</a> PR is for the performance optimization</p> rbd - Bug #8564: osd cannot be restarted when leveldb is used as backendhttps://tracker.ceph.com/issues/8564?journal_id=370402014-06-09T23:51:49ZHaomai Wanghaomaiwang@gmail.com
<ul></ul><p>Are you mean PR 1941 for bug fix and 1649 for performance purpose?</p>
<p>If so, yes</p> rbd - Bug #8564: osd cannot be restarted when leveldb is used as backendhttps://tracker.ceph.com/issues/8564?journal_id=371662014-06-16T09:12:10ZSage Weilsage@newdream.net
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul>