// If remote or local node does not have cache configured, do nothing
if (F.isEmpty(rmtAttrs) || F.isEmpty(locAttrs))
return;
GridDeploymentMode locDepMode = ctx.config().getDeploymentMode();
GridDeploymentMode rmtDepMode = rmt.attribute(GridNodeAttributes.ATTR_DEPLOYMENT_MODE);
for (GridCacheAttributes rmtAttr : rmtAttrs) {
for (GridCacheAttributes locAttr : locAttrs) {
if (F.eq(rmtAttr.cacheName(), locAttr.cacheName())) {
CU.checkAttributeMismatch(log, rmtAttr.cacheName(), rmt, "cacheMode", "Cache mode",