mds: do not include metric_spec in MClientSession from MDS

Otherwise the older kernel clients get confused. Credit to Jeff Layton
for pointing me in the right direction.

Fixes: 55d8fdef68
Fixes: https://tracker.ceph.com/issues/43599
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2020-01-15 12:26:40 -08:00
parent 8464955861
commit 3ef1581492
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -87,8 +87,8 @@ public:
header.version = HEAD_VERSION;
encode(metadata, payload);
encode(supported_features, payload);
encode(metric_spec, payload);
}
encode(metric_spec, payload);
}
private:
template<class T, typename... Args>