Skip to content

Changelog trimming ignores disabled replica-agreement and can erase updates not yet replicated #2472

Closed
@389-ds-bot

Description

@389-ds-bot

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49413


Issue Description

The issue is related to changelog trimming.
The updates are trimmed at the condition they are older than maxage AND have been replicated to all consumers.
The set of consumers taken into consideration is those that have an enabled replica agreement.

So if for any reason a replica agreement is disabled for a short period of time, and trimming thread runs at that time, then latest updates known by the consumer can be trimmed and replication breaks

Package Version and Platform

any version

Steps to reproduce

attached test case

Actual results

Replication breaks

Expected results

Replication should not break

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions