manika137 commented on code in PR #7837:
URL: https://github.com/apache/hadoop/pull/7837#discussion_r2246929766


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsInputStream.java:
##########
@@ -442,6 +451,7 @@ private int optimisedRead(final byte[] b, final int off, 
final int len,
     //  bCursor that means the user requested data has not been read.
     if (fCursor < contentLength && bCursor > limit) {
       restorePointerState();
+      tracingContext.setReadType(ReadType.NORMAL_READ);

Review Comment:
   Before readOneBlock we're setting TC as normal read both here and line 439. 
In readOneBlock method- we're setting TC again to normal read- do we need it 
twice?
   We can keep it once in the method only otherwise



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to