franz1981 commented on pull request #3572:
URL: https://github.com/apache/activemq-artemis/pull/3572#issuecomment-841655602


   @clebertsuconic @gtully 
   I'm not totally sold about the current semantic while checking for record ID 
presence: if `sync == false` (as `ReplicationEndpoint`) it seems that 
`JournalBase` is going to use `DummyCallback.getInstance()` as callback, 
meaning that it won't expect to block *ever*, but the existing semantic that 
check for record presence will make the caller thread to block until the record 
presence is verified, is it correct? 
   I would expect instead that if `sync == false` the caller thread won't get 
any error back, if not for something that can be verified on the same thread eg 
the new lock-free `knownRecordID` check.


-- 
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]


Reply via email to