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

Overflow record filter should handle records with duplicate key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.10-HF30, 10.10-HF05
    • Fix Version/s: 9.10-HF31, 10.10-HF06, 11.1
    • Component/s: Streams
    • Release Notes Summary:
      Conflicts on external storage are prevented when using overflow record filter.
    • Tags:
    • Sprint:
      nxcore 11.1.8 / 11.1.9
    • Story Points:
      2

      Description

      NXP-26691 introduces a record filter that persists big value into external storage (a key-value store or a transient store).

      The key used for the storage is based on the record key.

      This creates a conflict if different records use the same key. At best the consumer will read the latest write or it will not find the value because of a race condition in the storage (NXP-27292).

      To prevent this conflict the key used by the storage must be unique.

      This can be easily done by combining the record's key and the record's watermark.

       

        Attachments

          Activity

            People

            • 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 - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.