forked from mindspore-Ecosystem/mindspore
!10211 Remove cache server out of memory warning to fix one tester's ticket
From: @lixiachen Reviewed-by: @heleiwang,@pandoublefeng Signed-off-by: @liucunwei
This commit is contained in:
commit
48f42bbc99
|
@ -323,7 +323,6 @@ Status CacheClient::BuildPhaseDone() const {
|
||||||
Status CacheClient::PushRequest(std::shared_ptr<BaseRequest> rq) const { return comm_->HandleRequest(std::move(rq)); }
|
Status CacheClient::PushRequest(std::shared_ptr<BaseRequest> rq) const { return comm_->HandleRequest(std::move(rq)); }
|
||||||
|
|
||||||
void CacheClient::ServerRunningOutOfResources() {
|
void CacheClient::ServerRunningOutOfResources() {
|
||||||
MS_LOG(WARNING) << "Cache server runs out of memory or disk space to cache any more rows!\n";
|
|
||||||
bool expected = true;
|
bool expected = true;
|
||||||
if (fetch_all_keys_.compare_exchange_strong(expected, false)) {
|
if (fetch_all_keys_.compare_exchange_strong(expected, false)) {
|
||||||
Status rc;
|
Status rc;
|
||||||
|
|
Loading…
Reference in New Issue