Skip to content

Feature: Allow to keep only the latest INFO_UPDATED event #5605

Description

@cdprete

Hello.

In this ticket I would like to request to slightly rework the event store to keep only the latest INFO_UPDATED event instead of all of them until the compaction happens.
Of course, this behaviour should be opt-in, to not introduce a breaking change, with a configuration property.

Rationale

While it's useful to keep multiple status updates to analize why the status changed from X to Y, always the latest information provided by the INFO_UPDATED events are shown in the UI and the others are never used anymore nor there is any way to use them.
They're just lying around in memory until the compaction happens. As such, it would be better if we would keep directly always and only the last value of such an event.

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