Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](move-memtable) check segment num when closing each tablet (#36753) #37536

Merged
merged 2 commits into from
Jul 11, 2024

Commits on Jul 10, 2024

  1. [fix](move-memtable) check segment num when closing each tablet (apac…

    …he#36753)
    
    Previously, there is chance that sender failed to send some data while
    the receiver being unaware of.
    This will cause lost data if some segments are skipped.
    
    This PR fixes the problem by including checks in both sender and
    receiver.
    When sender failed to send rpc, LoadStreamStub will mark the involved
    tablets failed.
    Each sender will send segment num for each tablet in CLOSE_LOAD,
    and receivers (LoadStream) will sum up and check total segment nums.
    kaijchen committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    e9d9d8a View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    c748b2e View commit details
    Browse the repository at this point in the history