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

Better concurrency for FileManagerService name creation

    XMLWordPrintable

    Details

      Description

      When unique child name constraints are enabled (NXP-22421), it becomes possible for two concurrent document creations (using Drive, parallel file upload, etc.) to provoke a "segment name" collision, if the files have different names but with a long enough prefix so that PathSegmentService returns the same string.

      In this case, it would be useful to have an option in the FileManagerService to create the segment name based on a random value or any other value guaranteed to be free of collisions.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: