huaxiangsun commented on a change in pull request #2645:
URL: https://github.com/apache/hbase/pull/2645#discussion_r521477170
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ReversedClientScanner.java
##########
@@ -65,6 +58,6 @@ protected boolean setNewStartKey() {
@Override
protected ReversedScannerCallable createScannerCallable() {
return new ReversedScannerCallable(getConnection(), getTable(), scan,
this.scanMetrics,
- this.rpcControllerFactory);
+ this.rpcControllerFactory, scan.getReplicaId());
Review comment:
The default value for replicaId in Scan is -1. Can we keep the current
behavior? i.e, if scan.getReplicaId() < 0, then pass 0, otherwise, use
scan.getReplicaId().
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]