[BUG] PagedIterable<BlobItem> stream().paralllel() is behaving as sequential #40768
Open
3 tasks done
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Describe the bug
PagedIterable<BlobItem> stream().paralllel() is behaving as sequential.
Exception or Stack Trace
Log showing a single forkjoinpool worker is performing the task even though it has 20 workers.
To Reproduce
Steps to reproduce the behavior:
Use the below code snippet to list the blobs. Logs will display that the task is occurring serially which is causing slowness if the blob counts are in millions.
Code Snippet
Expected behavior
Execution should happen in parallel by multiple worker threads rather than by the single thread in sequential manner.
Setup (please complete the following information):
OS: Ubuntu 22.04.4 LTS
IDE: Intellij
Library/Libraries: com.azure:azure-storage-blob:12.25.0
Java version: Openjdk version 17.0.10
App Server/Environment: Tomcat embedded in Springboot
Frameworks: Springboot v3.2.3
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: