yugabyte/yugabyte-db

[DocDB] Return useful tablet metadata as a response to DeleteTablet

Open

#32,004 opened on Jun 2, 2026

View on GitHub
 (0 comments) (1 reaction) (1 assignee)C (8,229 stars) (1,003 forks)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Description

Jira Link: DB-21691

Description

We recently ran into a case where we saw data of a tombstoned tablet left on disk. Forther a delete_tablet was issued to see it the data goes away, but it didn't, and an rm -rf was done to get rid of the data.

We didn't have enough logs to see what the actual issue was, and since the cluster previously also had duplicate tablet metadata issues, we suspect the stale leftover data of tombstoned had something to do with duplicate tablet metadata or some mount issues.

It would be useful to return the data directories touched as a response of delete_tablet (any also include any other useful information may be).

cc @yamen-haddad

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Contributor guide