On the node where upgrade was done.
> rs.status();
{
"ok" : 0,
"errmsg" : "no replset config has been received",
"code" : 94,
"codeName" : "NotYetInitialized"
}
> db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } );
{ "featureCompatibilityVersion" : { "version" : "4.2" }, "ok" : 1 }
Rest of the cluster shows one primary node, 4 secondary nodes and the last one as state (not reachable/healthy) and rest of nodes show featureCompatibilityVersion as 4.0