Skip to content

Lack of a cleanup mechanism for Inode with ttl #41

@jlon

Description

@jlon

Currently, the system lacks a proper cleanup mechanism for Inodes (index nodes) that have a Time-To-Live (TTL) attribute. This can lead to the following problems:

​​Orphaned Inodes:​​ Inodes with expired TTLs may not be automatically removed, resulting in orphaned inodes that occupy storage space unnecessarily.
​​Resource Leak:​​ Over time, accumulated expired Inodes could degrade filesystem performance and waste system resources.
​​Inconsistent State:​​ Without cleanup, stale Inodes might cause inconsistencies in metadata or unexpected behavior in filesystem operations.
​​Expected Behavior:​​

Implement a background process or scheduled job to scan and remove Inodes whose TTL has expired.
Ensure proper handling of associated data blocks and metadata during cleanup.
Log cleanup actions for auditing and debugging purposes.

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