Merge "fixing high cpu usage of luks service on compute"

This commit is contained in:
Zuul 2024-02-06 14:47:44 +00:00 committed by Gerrit Code Review
commit 09b80ac7bc

View File

@ -1444,6 +1444,9 @@ void monitorLUKSVolume(bool isController, const string& volumeName) {
log("Sync failed. Error code: " + to_string(rc), LOG_ERR); log("Sync failed. Error code: " + to_string(rc), LOG_ERR);
break; break;
} }
} else {
log("Not a controller node. Exiting the service", LOG_INFO);
break;
} }
} }
} }