From: Sage Weil Date: Fri, 28 Aug 2009 03:27:45 +0000 (-0700) Subject: mds: never forward messages for the client X-Git-Tag: v0.14~102 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=52f55c72968a7e5637af30f12ecc56be8ffae9bc;p=ceph.git mds: never forward messages for the client Otherwise we won't be sure they have a session.. and the reply might not make it back! --- diff --git a/src/mds/MDS.cc b/src/mds/MDS.cc index 00f91b0cd7a6..fb1efddd429b 100644 --- a/src/mds/MDS.cc +++ b/src/mds/MDS.cc @@ -325,7 +325,8 @@ void MDS::forward_message_mds(Message *m, int mds) * the affected metadata may migrate, in which case the new authority * won't have the metareq_id in the completed request map. */ - bool client_must_resend = !creq->can_forward(); + // NEW: always make the client resend! + bool client_must_resend = true; //!creq->can_forward(); // tell the client where it should go messenger->send_message(new MClientRequestForward(creq->get_tid(), mds, creq->get_num_fwd(),