Skip to content

Make it possible for storage implementations to disable part files #25826

Closed

Description

@PVince81

A storage implementation must be able to decide whether parts files are needed or not needsPartFile.

Some storages like GDrive and Dropbox do not really need it because uploading a file there doesn't result in partial file content. The atomicity is guaranteed by the provider.
Unlike SMB or FTP.

See https://central.owncloud.org/t/issue-with-versioning-on-google-drive/1683/9 for context

Activity

  1. added this to the milestone on Aug 17, 2016
  2. modified the milestones: backlog, on Dec 6, 2016
  3. PVince81 commented on Mar 8, 2017

    @PVince81
    ContributorAuthor
    1. Add a new optional interface method needsPartFile that returns true by default in the \OC\Files\Storage\Common class
    2. Add check that calls this method here https://github.com/owncloud/core/blob/v9.1.4/apps/dav/lib/Connector/Sabre/File.php#L508
  4. PVince81 commented on Mar 8, 2017

    @PVince81
    ContributorAuthor
    1. Make the classes in question return false when needsPartFile is called.
    2. Make the GDrive and Dropbox storage classes return false too
  5. ownclouders commented on Dec 21, 2017

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

    (This is an automated comment from GitMate.io.

  6. PVince81 commented on Dec 21, 2017

    @PVince81
    ContributorAuthor

    @DeepDiver1975 @butonic do we agree on this API addition ? Adding this is rather trivial so could be done any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions