Skip to content

[FR]Update local data in-place #1320

@seiferteric

Description

@seiferteric

Current behavior
Currently you can add or remove local data records but I don't believe there is a way to update an existing record. This means that you must remove a record and add a new one in its place. I believe that would mean there may be a brief moment where the record is not available.

Describe the desired feature
I would like to be able to update a local-data record in place so that there is no disruption.

Potential use-case
If you are using local data and you need to periodically update these records and would like to avoid service interruption, this is useful. I myself have such a use-case. Currently I am updating the config file and doing a fast reload instead.

I am open to adding this feature myself and can open a PR if this feature is desired. In fact I have a work prototype of the code already however would like input if there is any potential issues with this idea, thanks.

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