Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4859

CLONE - Default value of id-cache-size attribute is potencially dangerous when very small messages are used

    XMLWordPrintable

Details

    Description

      Hi,

      I hit an issue with HornetQ core bridges. I tried test scenario with 4 nodes where:
      1) there are two clusters A and B (each contains two nodes)
      2) there is hornetq core bridge configured from cluster A to cluster B (A1 -> B1, A2 -> B2)

      During sending messages (30KB ByteMessages) to A1 and reading them from B2, node A2 was killed and started a few times. In the end there were duplicated messages. Problem was in low value of id-cache-size attribute which is 2000 by default and confirmation-window-size which is for bridges (1024 * 1024) bytes.

      Can be default value of id-cache-size increased so we can avoid this situation? This is potentially dangerous and hard for admins to realize before the problem occurs.

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: