Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2808

Update GridFS spec for a performant "delete revisions by filename" feature

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: GridFS
    • Labels:
      None
    • Not Needed

      Summary

      The spec doesn't provide an API to delete every revisions of a filename. Using the current API, the developer have to retrieve each revision and delete this files them one by one.
      The rename by filename API is necessary for PHP Stream Wrapper.

      Motivation

      Who is the affected end user?

      Applications that use a lot of revisions of the same filename.

      How does this affect the end user?

      Bad performance scaling when the number of revisions grows

      How likely is it that this problem or use case will occur?

      Edge case, maybe an incorrect usage of GridFS.

      If the problem does occur, what are the consequences and how severe are they?

      Degraded performances

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      PHPLIB implementation of GridFS stream wrapper

      Is this ticket only for tests?

      No

      Acceptance Criteria

      Update the spec to give a performant way to delete all revisions of a filename

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: