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

LocalDelivery failure when mailbox counter update

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.3
    • 3.8.0, 3.7.4
    • cassandra, mailbox
    • None

    Description

      As part of a customer support contract, we noticed that a failure to update mailbox counters results in a delivery failures.

      Log line:

      2023-02-10T10:10:57,537 [WARN ] o.a.j.t.m.d.MailDispatcher - Error While storing mail. This error will be retried.
      com.datastax.driver.core.exceptions.WriteTimeoutException: Cassandra timeout during COUNTER write query at consistency ONE (1 replica were required but only 0 acknowledged the write)
      

      Consistency level ONE usage is inherent to counter usage. Thus errors are to be expected in case of single Cassandra node failure.

      I hereby proposes to IGNORE failure to update counters and just fire a WARNING log to inform the administrator.

      Rationnals:

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 20m
                20m