https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-09-04T11:11:26ZCeph CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=981802017-09-04T11:11:26ZJianyu Li
<ul></ul><p>Although for the latest code in master branch, this issue could be avoided by the destination check in export_dir:</p>
<p>void Migrator::export_dir(CDir *dir, mds_rank_t dest)
{<br /> ...</p>
<pre><code>if (!mds->mdsmap->is_active(dest)) {<br /> dout(7) << "dest not active, no exports for now" << dendl;<br /> return;<br /> }<br /> ...<br />}<br />due to the auth of parent inode is CDIR_AUTH_UNKNOWN(-2) for empty subtree root in standby-replay mds.</code></pre>
<p>But it's more like a coincidence, we should prevent it from doing migration attempt more clearly, otherwise the above issue may appear again if the export target is an active mds, e.g. someone explicitly specify dest mds through export dir command:<br /> ceph daemon mds.<standby_reply_mds> export dir /xxx <active_mds_id></p> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=981812017-09-04T11:14:05ZJianyu Li
<ul></ul><p>Here is a merge request for this bug fix: <a class="external" href="https://github.com/ceph/ceph/pull/17452">https://github.com/ceph/ceph/pull/17452</a>, could you have a review? @Patrick</p> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=983442017-09-05T21:35:24ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Target version</strong> set to <i>v12.2.1</i></li><li><strong>Source</strong> set to <i>Community (user)</i></li><li><strong>Backport</strong> set to <i>luminous</i></li></ul> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=986912017-09-08T18:26:41ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=987052017-09-08T20:20:20ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/21322">Backport #21322</a>: luminous: MDS: standby-replay mds should avoid initiating subtree export</i> added</li></ul> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=990002017-09-13T02:42:11ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-7 priority-highest closed" href="/issues/21378">Bug #21378</a>: mds: up:stopping MDS cannot export directories</i> added</li></ul> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=990012017-09-13T02:42:27ZPatrick Donnellypdonnell@redhat.com
<ul></ul><p>Fix causes: <a class="external" href="http://tracker.ceph.com/issues/21222">http://tracker.ceph.com/issues/21222</a></p> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=990072017-09-13T03:20:34ZZheng Yanukernel@gmail.com
<ul></ul><p>cause regression <a class="external" href="http://tracker.ceph.com/issues/21378">http://tracker.ceph.com/issues/21378</a></p> CephFS - Bug #21222: MDS: standby-replay mds should avoid initiating subtree exporthttps://tracker.ceph.com/issues/21222?journal_id=992132017-09-15T20:47:11ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>