Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3721

Browse on the Pulsar mailqueue fails with ObjectNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • pulsar, Queue

    Description

      We have identified a couple interrelated issues around the puslar mailqueue :

      Upon acknowledging a message, the corresponding mime message was not removed from the blob store.

      Upon fixing that issue (and adding the corresponding verification), we started getting more failures on the browse (the failures could also be observed on the remove).

       

      Because of how pulsar works and because we allow parallel processing of messages, the browse operation can end up reading meta data of messages that have been removed or acknowledged. The metadata of acknowledged messages is not immediately  purged from pulsar. It is somewhat configurable but for a normally operating cluster acked messages can remain readable for hours (and forcing that to the order of seconds would badly affect the cluster operation)

       

      We chose to catch the specific exception and simply ignore the corresponding mails during the browse operation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jeantil Jean Helou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m