Skip to content

Flagging file loss/corruption #14

Open
0 of 3 issues completed
Open

Description

@ahankinson

A periodic audit of a filesystem has revealed that a PDF file no longer matches its checksum, and will no longer open in a PDF reader. Checksums should be used to flag this as a problem and alert a validation client that the object is no longer valid.

Activity

  1. added
    Proposed: In-ScopeUse case is up for discussion and may change the spec, implementation notes, or become an extension.
    on Feb 27, 2018
  2. ahankinson commented on Sep 5, 2018

    @ahankinson
    Author

    F2F 2018.09.05: Clarification of 'Corruption' -- the first is that the bits changed on disk, i.e. 'bitrot', leading to files not matching their checksum.

    The second is format corruption: A file was provided with a correct checksum, but it did not conform to its own spec, e.g., an empty 'zip' file or a badly-encoded JPEG2000. Issue moved to #30.

    We should not allow broken invalid OCFL objects to exist. In spec this is a "MUST" that objects must be valid, and checksums should match.

    Interventions can include fixing an object to be valid, or, if this is not possible, deleting the object.

  3. added
    Confirmed: In-scopeUse case will be included in the upcoming version of the spec or implementation notes.
    and removed
    Proposed: In-ScopeUse case is up for discussion and may change the spec, implementation notes, or become an extension.
    on Sep 5, 2018
  4. ahankinson commented on Sep 5, 2018

    @ahankinson
    Author

    NB: Changed original description to clarify parts of the Use Case that were determined not be in scope.

  5. changed the title [-]Corruption recording[/-] [+]Corruption handling[/+] on Sep 5, 2018
  6. neilsjefferies commented on Aug 20, 2019

    @neilsjefferies
    Member

    I would say checksum failure is an OCFL concern. File format validation is not - it is too wooly to define what valid is. Try and define what a valid doc file is.

  7. added
    Proposed: In-ScopeUse case is up for discussion and may change the spec, implementation notes, or become an extension.
    and removed
    Confirmed: In-scopeUse case will be included in the upcoming version of the spec or implementation notes.
    on Sep 22, 2023
  8. changed the title [-]Corruption handling[/-] [+]Flagging file loss/corruption[/+] on Sep 22, 2023
  9. zimeon commented on Sep 22, 2023

    @zimeon
    Contributor

    Editors' meeting 2023-09-22: This might be handled by the same tombstone/flagging mechanism as #42

  10. rosy1280 commented on Oct 27, 2023

    @rosy1280
    Contributor

    Feedback on Use Cases

    In advance of version 2 of the OCFL, we are soliciting feedback on use cases. Please feel free to add your thoughts on this use case via the comments.

    Polling on Use Cases

    In addition to reviewing comments, we are doing an informal poll for each use case that has been tagged as Proposed: In Scope for version 2. You can contribute to the poll for this use case by reacting to this comment. The following reactions are supported:

    In favor of the use case Against the use case Neutral on the use case
    👍🏼 👎🏼 👀

    The poll will remain open through the end of February 2024.

  11. bdwheele commented on Feb 19, 2024

    @bdwheele

    Does "no longer matching it's checksum" also encompass when the file is simply missing or is that another case?

    In the event that a file has changed/gone missing and there isn't a way to repair the on-storage ocfl object (for example a replacement file can't be found), it would be good to be able to acknowledge that the file is broken in the object and make the object correct by indicating that the file should have been there but isn't. That way in the future you can either search for objects which contain this information for remediation.

  12. rosy1280 commented on Feb 29, 2024

    @rosy1280
    Contributor

    at the time of this comment the vote tallied to +2 we are marking this as in-scope for version 2 because we suspect it will be related to #42 which is already in scope for version 2 of the specification

  13. 1 remaining item

  14. added
    Confirmed: In-scopeUse case will be included in the upcoming version of the spec or implementation notes.
    on Feb 29, 2024
  15. added this to the Supported in v2.0 milestone on Feb 29, 2024
  16. zimeon commented on Sep 20, 2024

    @zimeon
    Contributor

    2024-09-20 Editors agree that this use case will be combined with the solution for File Deletion #42, see comment thread there

  17. moved this to In progress in OCFL 2.0on Oct 23, 2025
  18. moved this from In progress to Ready in OCFL 2.0on Jan 15, 2026
  19. moved this from Ready to In progress in OCFL 2.0on Feb 26, 2026
  20. moved this from In progress to Ready in OCFL 2.0on Feb 26, 2026
  21. moved this from Ready to No status in OCFL 2.0on Feb 26, 2026
  22. moved this to Ready in OCFL 2.0on Feb 26, 2026
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

    Component: ValidationConfirmed: In-scopeUse case will be included in the upcoming version of the spec or implementation notes.

    Type

    No type

    Projects

    • Status
      Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions