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

Implement IngestSST API #2712

Merged
merged 2 commits into from Mar 15, 2018
Merged

Implement IngestSST API #2712

merged 2 commits into from Mar 15, 2018

Commits on Mar 14, 2018

  1. Implement ImportSST::Ingest API

    Client must guarantee that the SST file has been uploaded to the servers where
    the region's peers locate in, before issuing an ingest request to the region's
    leader.
    
    The SST metadata provided in the ingest request will first be replicated through
    Raft. Then when the log entry is applied, the coresponding uploaded SST file
    will be ingested to the local engine.
    
    To make sure that the region's range and peers are not changed on during this
    process, the region's epoch will be checked before ingestion.
    huachaohuang committed Mar 14, 2018
    Copy the full SHA
    2645bd0 View commit details
    Browse the repository at this point in the history
  2. Update kvproto

    huachaohuang committed Mar 14, 2018
    Copy the full SHA
    f91b686 View commit details
    Browse the repository at this point in the history