You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/04/08 11:14:32 UTC

[GitHub] [james-project] chibenwa opened a new pull request #374: JAMES-3432 Upload routes was unstable

chibenwa opened a new pull request #374:
URL: https://github.com/apache/james-project/pull/374


   One time out of 25 the uploaded content was altered (Different SHA 256 in
   the data store). Several Apache CI builds had been failing because of this.
   
   Investigating this, I found that a piped input stream strategy was not
   hitting this pitfall (RectorUtils::toInputStream). I thus incriminate
   some weird data races on the Reactor side...
   
   However, changing the reactor-netty logic (converting to byta array then to byte buffer again) also solve the test stability (I know! I do not
   understand it either).
   
   As the piped inputStream strategy (https://github.com/apache/james-project/pull/370) both mobilises significant resources
   and cannot handle exception, then I think the dark magic trick is worth a try.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org


[GitHub] [james-project] chibenwa merged pull request #374: JAMES-3432 Upload routes was unstable

Posted by GitBox <gi...@apache.org>.
chibenwa merged pull request #374:
URL: https://github.com/apache/james-project/pull/374


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org