Registry Mirror
Skip to content
This repository was archived by the owner on Oct 17, 2018. It is now read-only.
This repository was archived by the owner on Oct 17, 2018. It is now read-only.

Can old storage in XML repositories be cleaned up? #158

Closed

Description

@hotchkj

Apologies if this has been covered in earlier issues, but I couldn't find a good reference in the docs or here. If one is implementing IXmlRepository (I'm writing one to use AWS S3), it essentially has two calls - GetAllElements and StoreElement.

  • What's the right thing to do as this operates over time, to avoid unbounded disk/database/storage usage?
  • When can old elements be cleaned up, if at all?
  • Is this better done in GetAll or Store or asynchronously?

Thanks in advance.

Activity

  1. added this to the Discussions milestone on Jun 9, 2016
  2. muratg commented on Jun 9, 2016

    @muratg

    @blowdart Something we should consider. I don't think we have a clean-up story. Files are not huge so shouldn't be a big problem in the short-medium term.

  3. blowdart commented on Jun 9, 2016

    @blowdart
    Member

    No we shouldn't. This is on purpose. If you delete keys then any data that is encrypted with them can no longer be decrypted. As we don't know what users have done with keys, and any data is still available we cannot do this.

    So, no cleanup.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions