Skip to content

DelayedFetchLogOperation will not be trigged to complete when replica number set to 1 #777

@luoyuxia

Description

@luoyuxia

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.6.0 (latest release)

Please describe the bug 🐞

In #768, we directly remove the tryCompleteDelayedOperations in Replica#appendRecordsToLeader():

Image

This may cause DelayedFetchLogOperation not be trigged to complete when replica number set to 1 because there are no follower to fetch log from leader and trigger complete DelayedFetchLogOperation. In this case, DelayedFetchLogOperation will only finished when the wait time timeout.

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions