OpenwaterHealth / OpenwaterHealth/openlifu-python

Overwriting a volume can leave a dangling volume file in the database

Open
#136 2 comments 0 reactions 1 assignee View on GitHub

@HussainAther is already working on this.

Since Mar 4, 2025.

bug good first issue
Dominant language
Python
Stars
27
Forks
21
Avg merge
1d 20m
Merged PRs (30d)
6

Description

When using Databse.write_volume if we choose to overwrite an existing volume but use a volume file with a different filename, then the old volume file is left there dangling. (It exists only in the filesystem but it is still there in the database directory taking up space.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.