OpenwaterHealth/openlifu-python

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

Open

#136 opened on Oct 16, 2024

 (2 comments) (0 reactions) (1 assignee)Python (16 forks)auto 404
buggood first issue

Repository metrics

Stars
 (24 stars)
PR merge metrics
 (PR metrics pending)

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