[
https://issues.apache.org/jira/browse/OLINGO-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
varun_ramesh updated OLINGO-1591:
---------------------------------
Attachment: deadlock_fix.patch
> Batch processing stuck in deadlock when payload size is greater than 4MB
> ------------------------------------------------------------------------
>
> Key: OLINGO-1591
> URL: https://issues.apache.org/jira/browse/OLINGO-1591
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Reporter: varun_ramesh
> Priority: Major
> Attachments: deadlock_fix.patch, junit.java, payload.txt,
> thread1.txt, thread2.txt
>
>
> When OData V4 batch request payload is more than 4MB, the payload parsing
> gets stuck in deadlock. Both PipedOutputStream and PipedInputStream goes into
> lock there waiting indefinitely.
> The buffer which is used as a circular buffer has a size of 4MB initialised
> in PipedInputStream. Whenever the batch request payload is greater than 4MB,
> both the main thread & future task goes into deadlock. Attached both the lock
> waiting threads.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)