Skip to content

Make number of pinned_timestamp files to keep in remote configurable. #15248

@sachinpkale

Description

@sachinpkale

Is your feature request related to a problem? Please describe

Currently, we keep last 5 pinned_timestamps files in remote store. It is possible that a data node scheduler which is reading the file, the read was delayed due to some issue and at the same time the file is being deleted.

To avoid this, we need a lease mechanism which will prevent the deletion of pinned timestamp file while being read. A short term solution would be to make this value configurable.

Describe the solution you'd like

Reference: #15180 (comment)

Related component

Storage:Remote

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Storage:RemoteenhancementEnhancement or improvement to existing feature or request

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions