Skip to content

Audit uses of .unwrap/.expect in shardtree #118

@daira

Description

@daira

For the unwrap calls, i see that :

  • batch.rs has 1 non-test unwrap
  • legacy.rs has 1 non-test unwrap
  • lib.rs has 3 non-test unwrap
  • prunable.rs has 8 non-test unwrap calls
  • caching.rs has 15 non-test unwrap calls, that are related to the DB access which could be unstable (for ex. due disk space issues)

At least the unwraps for DB access seem like a bug to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions