You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/07/16 10:00:22 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #3493: HBASE-26090 Remove the deprecated methods in Scan which should be rem…

Apache9 commented on a change in pull request #3493:
URL: https://github.com/apache/hbase/pull/3493#discussion_r671123615



##########
File path: hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java
##########
@@ -1212,11 +1206,7 @@ public static Scan toScan(
     if (proto.hasMvccReadPoint()) {
       PackagePrivateFieldAccessor.setMvccReadPoint(scan, proto.getMvccReadPoint());
     }
-    if (scan.isSmall()) {
-      scan.setReadType(Scan.ReadType.PREAD);
-    } else if (proto.hasReadType()) {
-      scan.setReadType(toReadType(proto.getReadType()));
-    }
+    scan.setReadType(toReadType(proto.getReadType()));

Review comment:
       Ah, yes. Let me fix.




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org