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

Use keyStream(prefix) in bulk action framework

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10
    • Component/s: Bulk
    • Impact type:
      Data Persistence Change
    • Upgrade notes:
      Hide

      The way we store contextual information for BAF has changed. Instead of having BULK_ID:status we now have status:BULK_ID (for instance).

      This makes all command submitted before upgrade not compatible with the Bulk Action Framework after the upgrade.

      There's no impact on finished command except that status can't be retrieved after the upgrade, but acceptable as it's transient data.

      There's impact on running command because after upgrading Nuxeo to 10.10, BAF won't be able to retrieve contextual information to finish submitted command before upgrade. As it we advise to upgrade Nuxeo from 10.3 to 10.10 after all BAF processing has finished. Otherwise a manual intervention on the KeyValueStore is possible to reverse these key/value:

      • BULK_ID:status by status:BULK_ID
      • BULK_ID:command by command:BULK_ID
      Show
      The way we store contextual information for BAF has changed. Instead of having BULK_ID:status we now have status:BULK_ID (for instance). This makes all command submitted before upgrade not compatible with the Bulk Action Framework after the upgrade. There's no impact on finished command except that status can't be retrieved after the upgrade, but acceptable as it's transient data. There's impact on running command because after upgrading Nuxeo to 10.10, BAF won't be able to retrieve contextual information to finish submitted command before upgrade. As it we advise to upgrade Nuxeo from 10.3 to 10.10 after all BAF processing has finished. Otherwise a manual intervention on the KeyValueStore is possible to reverse these key/value: BULK_ID:status by status:BULK_ID BULK_ID:command by command:BULK_ID
    • Sprint:
      nxcore 10.10.4
    • Story Points:
      1

      Description

      We want to use new KeyValueStoreProvider.keyStream(prefix) API as it is more performant.

      Only thing to do in BAF is to change status and command suffixes by prefixes and use new API.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m

                    PagerDuty

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