[ 
https://issues.apache.org/jira/browse/IGNITE-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15489785#comment-15489785
 ] 

Semen Boikov commented on IGNITE-3810:
--------------------------------------

As I understand the purpose of 'maxWriteQueueSize' is throttling (avoid file 
writer overload when there are to many writes), it defenetely should not case 
hangs. We can fix it this way: if value size is large than 'maxWriteQueueSize' 
print warning that this paremeter should be increased, then such large values 
should just wait when write queue is empty.

> FileSwapSpaceSpi can hang when large value is written
> -----------------------------------------------------
>
>                 Key: IGNITE-3810
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3810
>             Project: Ignite
>          Issue Type: Bug
>          Components: swap
>    Affects Versions: 1.7
>            Reporter: Valentin Kulichenko
>            Assignee: Dmitriy Govorukhin
>             Fix For: 1.8
>
>         Attachments: SwapSpaceTest.java
>
>
> Test reproducing the issue is attached.
> Weirdly, the value of size {{1024 * 1024 - 48}} is successfully written, but 
> when it is only one byte bigger, the swap space hangs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to