Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When importing nodes using the Feeds module, the Feeds batch process hangs and is unable to be stopped.
The Feeds file upload directory is set to use s3 (s3://feeds).
It seems like the issue comes from the stream_read
function.
For large imports where the file size is greater than $count = 8192
there is no problem.
For small imports where the file size is less than $count = 8192
the batch process hangs and never finishes.
Feeds 7.x-2.0-alpha9.
Comment | File | Size | Author |
---|---|---|---|
#6 | amazons3-7.x-1.1-fix-small-feeds-import-2556235.patch | 962 bytes | tinny |
Comments
Comment #2
tinny CreditAttribution: tinny commentedComment #3
tinny CreditAttribution: tinny commentedPatch attached.
Comment #4
tinny CreditAttribution: tinny commentedComment #5
tinny CreditAttribution: tinny commentedComment #6
tinny CreditAttribution: tinny commentedComment #7
trrroy CreditAttribution: trrroy commentedThis worked for me. Thanks!
Comment #8
quicksketchThanks for making this patch. It looks like this problem is specific to the 1.x version, as the 2.x version does not contain this code (it would come from the upstream Amazon StreamWrapper anyway).