Skip to content

Commit

Permalink
Merge branch 'xxg-wip-client_dupmdsmap' of git://github.com/xiexinggu…
Browse files Browse the repository at this point in the history
…o/ceph into greg-fs-testing

#9774
  • Loading branch information
gregsfortytwo committed Jun 27, 2016
2 parents 1a5c9c8 + d4a4827 commit 07f8f39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/client/Client.cc
Expand Up @@ -2506,9 +2506,10 @@ void Client::handle_fs_map_user(MFSMapUser *m)

void Client::handle_mds_map(MMDSMap* m)
{
if (m->get_epoch() < mdsmap->get_epoch()) {
ldout(cct, 1) << "handle_mds_map epoch " << m->get_epoch() << " is older than our "
<< mdsmap->get_epoch() << dendl;
if (m->get_epoch() <= mdsmap->get_epoch()) {
ldout(cct, 1) << "handle_mds_map epoch " << m->get_epoch()
<< " is identical to or older than our "
<< mdsmap->get_epoch() << dendl;
m->put();
return;
}
Expand Down

0 comments on commit 07f8f39

Please sign in to comment.