incubator-pegasus icon indicating copy to clipboard operation
incubator-pegasus copied to clipboard

feat: support reset dead partition

Open ruojieranyishen opened this issue 1 year ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe: When data disk damage causes all three replicas to be unavailable, most of Pegasus's functions—such as backup, bulk load, and duplication—will not be usable. Therefore, a fallback strategy is needed to address this situation.

Describe the feature you'd like:

By resetting the dead paritions to abandon some data, you can trick the meta server into allowing functions like backup to proceed normally.

Mainly two parts:

  1. Reset the partition configuration on the meta server and zookeeper.
  2. Reserve the dead partition data on the target replica server.

ruojieranyishen avatar Dec 30 '24 12:12 ruojieranyishen