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
- is caused by
-
PHPLIB-1323 GridFS: Delete a file by filename - implement StreamWrapper::unlink()
- Closed
- is related to
-
DRIVERS-2807 GridFS spec: Add performant "rename all revisions by filename" feature - rename_by_name
- Implementing
- split to
-
PYTHON-4947 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
PHPLIB-1568 Add GridFS\Bucket::deleteByName() and renameByName()
- Closed
-
CDRIVER-5794 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
CSHARP-5398 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
CXX-3167 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
GODRIVER-3416 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
JAVA-5689 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
NODE-6512 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
RUBY-3587 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
RUST-2091 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Backlog
-
MOTOR-1407 GridFS spec: Add performant "delete revisions by filename" feature - delete_by_name
- Closed