tikv / tikv/pd

Implement rollback on keyspace creation failure

Open
#10,980 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Enhancement Task
If the keyspace creation fails and cannot be successfully enabled, the operations performed during the creation process should be rolled back, and the keyspace status should be set to `tombstone`.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the keyspace creation flow and the step that enables the keyspace, since the issue names no files or tests. Identify each operation that must be reverted on failure; done means an unsuccessful creation rolls back those operations and leaves the keyspace in `tombstone` status.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.