修复资源池化ndp插件 IO丢失问题

This commit is contained in:
Mijamind
2023-06-05 16:11:12 +08:00
committed by quemingjian (C)
parent f600987700
commit 0665abc59f

View File

@ -317,7 +317,7 @@ static bool NdpScanGetPage(NdpScanDesc ndpScan)
if (resp < req) {
pg_usleep(NDP_RPC_WAIT_USEC);
// if normal page finish, io request failed, pages been added to normal queue, can't return directly.
} else if (ndpScan->normalPagesId->Empty() && !NdpScanGetPageQueue(ndpScan)) {
} else if (ndpScan->normalPagesId->Empty() && ndpScan->respIO->Empty()) {
return false;
}
#else