Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31970

MongoDBTransientStore is not handling TTL correcly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.40, 2023.1
    • Component/s: TransientStore
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #91
    • Story Points:
      2

      Description

      A transient store has a firstLevel and secondLevel TTL, the secondLevel is applied when the entry is released.

      The MongoDBTransientStore (default in LTS 2023) is also changing the TTL on setCompleted to the secondLevel when uncompleted which is wrong.
      Like other implementations the TTL should be firstLevel when calling setCompleted.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: