pkelly-nifi commented on a change in pull request #4576:
URL: https://github.com/apache/nifi/pull/4576#discussion_r611904077



##########
File path: 
nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/storage/FetchGCSObject.java
##########
@@ -233,8 +233,15 @@ public void onTrigger(ProcessContext context, 
ProcessSession session) throws Pro
                 throw new StorageException(404, "Blob " + blobId + " not 
found");
             }
 
+            if (rangeStart > 0 && rangeStart >= blob.getSize()) {
+                getLogger().debug("Start position: {}, blob size: {}", new 
Object[] {rangeStart, blob.getSize()});

Review comment:
       Thank you, that makes sense.




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


Reply via email to