Skip to content

new feature: Add "last access time" to Metadata #6587

@bonsairobo

Description

@bonsairobo

Feature Description

Metadata should have an optional last_access_time field.

Problem and Solution

When implementing a bounded file cache, it's useful to be able to prioritize garbage collection based on access time. I believe most filesystems support this metadata, but regardless we can provide it as an Option.

I would add support for filesystems first. I'm not sure how many object stores could support it.

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleases-note/featThe PR implements a new feature or has a title that begins with "feat"services/fs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions