You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "mibo (Jira)" <ji...@apache.org> on 2022/11/12 09:37:00 UTC

[jira] [Closed] (OLINGO-1591) Batch processing stuck in deadlock when payload size is greater than 4MB

     [ https://issues.apache.org/jira/browse/OLINGO-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mibo closed OLINGO-1591.
------------------------

> 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
>            Assignee: mibo
>            Priority: Major
>         Attachments: deadlock_fix.patch, junit.java, payload.txt, thread1.txt, thread2.txt
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)