]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: properly set client incarnation 5594/head
authorYan, Zheng <zyan@redhat.com>
Tue, 18 Aug 2015 06:56:24 +0000 (14:56 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 18 Aug 2015 06:57:04 +0000 (14:57 +0800)
Fixes: #12711
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDSRank.cc

index dc550989e28667a1c338be9716c17d5c42c56d0a..b32690236560aae37306cb373b5638978180e23a 100644 (file)
@@ -1430,6 +1430,7 @@ void MDSRankDispatcher::handle_mds_map(
 
   // tell objecter my incarnation
   if (objecter->get_client_incarnation() != incarnation)
+    objecter->set_client_incarnation(incarnation);
 
   // for debug
   if (g_conf->mds_dump_cache_on_map)