HBASE-11487 ScanResponse carries non-zero cellblock for CloseScanRequest (Shengzhe Yao)
This commit is contained in:
parent
dd9f1cbf3a
commit
f2a40fc058
|
@ -1866,7 +1866,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
|
|||
if (request.hasCloseScanner()) {
|
||||
closeScanner = request.getCloseScanner();
|
||||
}
|
||||
int rows = 1;
|
||||
int rows = closeScanner ? 0 : 1;
|
||||
if (request.hasNumberOfRows()) {
|
||||
rows = request.getNumberOfRows();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue