Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LM] Set readFromCache_ to true if the host is not the leader (veso…
Browse files Browse the repository at this point in the history
Aiee authored May 29, 2023
1 parent 22ff7f5 commit ecacd63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/encryption/LicenseManagerConnector.cpp
Original file line number Diff line number Diff line change
@@ -175,6 +175,7 @@ void LicenseManagerConnector::threadFunc() {
VLOG(1)
<< "[License Manager] current host is not the leader, skip checking with license manager";
// Load quota response from kv if the host is a follower so that its cache is non-empty
readFromCache_ = true;
loadLMRespFromKv();
return;
}

0 comments on commit ecacd63

Please sign in to comment.