Local `stringstream ss` declarations were hiding
the real variable used to feed back to the user.
Fixes: http://tracker.ceph.com/issues/16709
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit
00404ae9bd4cce0518a44d36d2d6a5612f4f9d04)
pending_fsmap.modify_daemon(gid, [state](MDSMap::mds_info_t *info) {
info->state = state;
});
- stringstream ss;
ss << "set mds gid " << gid << " to state " << state << " "
<< ceph_mds_state_name(state);
return 0;
return -EBUSY;
} else {
pending_fsmap.erase(gid, {});
- stringstream ss;
ss << "removed mds gid " << gid;
return 0;
}
fs->mds_map.failed.erase(role.rank);
});
- stringstream ss;
ss << "removed failed mds." << role;
return 0;
} else if (prefix == "mds compat rm_compat") {