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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to