Sorry for the late reply,
@Walter I did try to restore the messages from oldreplica files once, but didn't manage to get the messages back. I think the replica containing the messages was deleted already since too much time has passed since I noticed I am missing the messages. This is all happening on my develop server, so I'm not too concerned about having lost some messages - but I am concerned about implementing artemis in production environment. @Clebert I think split-brain scenario sounds possible. Is split brain a valid scenario in a simple live-backup replicating pair? We are working on writing some tests, however I cannot automate shutting down 2 virtual servers in a java-written test ... and I was never able to replicate this. Vast majority of the time, replication works exactly as expected. Also, can @Walter confirm that you had no problems on version 2.20, since you said you are reverting back to that version? If so, maybe we should check the changes between 2.20 and 2.22. ________________________________ From: Clebert Suconic <clebert.suco...@gmail.com> Sent: 25 October 2022 18:56 To: users@activemq.apache.org Subject: Re: Messages getting lost on Artemis 2.25 To sporočilo izvira izven naše organizacije. Bodite pozorni pri vsebini in odpiranju povezav ali prilog. There's a bug fix I'm pushing now on the page counters: https://github.com/apache/activemq-artemis/pull/4271 [https://opengraph.githubassets.com/f18cae5b1794552cbbd050ae368647406add7eb365ce308f4f3bceb542e6a63a/apache/activemq-artemis/pull/4271]<https://github.com/apache/activemq-artemis/pull/4271> ARTEMIS-4073 Page Counters can go off sync when multiple producers are used in the same address by clebertsuconic · Pull Request #4271 · apache/activemq-artemis · GitHub<https://github.com/apache/activemq-artemis/pull/4271> github.com Mirror of Apache ActiveMQ Artemis. Contribute to apache/activemq-artemis development by creating an account on GitHub. notice there's no page loss.. just the counter could go off sync if paging. I'm also going to add an option to remove the page-counters record soon. On Thu, Oct 20, 2022 at 4:37 PM Walter de Boer <walterdeb...@dbso.nl> wrote: > > Clebert, > > We see the AMQ222162 message after restarting on a JVM crash. In that case we > can recover the messages. Maybe this is any help to Gašper > > The last time we really lost messages we didn’t notice any particular errors > at server not client side. > > I think we’ll find some commercial support to review our setup and client > code. We’ll keep you posted. > > Walter -- Clebert Suconic NOTICE - NOT TO BE REMOVED. This e-mail and any attachments are confidential and may contain legally privileged information and/or copyright material of Actual I.T. or third parties. If you are not an authorised recipient of this e-mail, please contact Actual I.T. immediately by return email or by telephone or facsimile on the above numbers. You should not read, print, re-transmit, store or act in reliance on this email or any attachments and you should destroy all copies of them.