Skip to content

[Improvement] Add retry mechanism for reading data(memory/local/index) when there is no buffer #1606

@rickyma

Description

@rickyma

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

There is no retry mechanism for clients to read data(memory/local/index) when there is no read memory on the server side.
Currently, retries will be performed on the server side, up to 50 times, with a sleep time of 1s each time. This means that a request may take more than 50s, which significantly affects the server's throughput in handling read requests.

Affects Version(s)

master

Uniffle Server Log Output

No response

Uniffle Engine Log Output

No response

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

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