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

Use transactions when required in RedisTransientStore

    XMLWordPrintable

    Details

      Description

      Theoretically needed in:

      getParameters(String key)
      
      getBlobs(String key)
      
      remove(String key)
      
      persistBlobs(String key, long sizeOfBlobs, List<Map<String, String>> blobInfos)
      
      removeAllEntries()
      

      We'll use the MULTI / EXEC commands (+ maybe WATCH).

      Might want to implement a unit test simulating concurrent read / write access to blobs / parameters of a same storage entry to illustrate the need of such transactions.

      Might also want to use pipelines when possible, typically when executing a Redis command inside a for statement.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  PagerDuty

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