Skip to content

Commit b95e90b

Browse files
mergify[bot]sevev
andauthored
[BugFix] Fix shutdown tablet can not gc (backport #63595) (#63624)
Signed-off-by: sevev <[email protected]> Co-authored-by: zhangqiang <[email protected]>
1 parent 308a567 commit b95e90b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

be/src/storage/tablet_manager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ Status TabletManager::drop_tablet(TTabletId tablet_id, TabletDropFlag flag) {
447447
// to 'RUNNING' from 'SHUTDOWN'.
448448
std::unique_lock l(dropped_tablet->get_header_lock());
449449
(void)dropped_tablet->set_tablet_state(TABLET_SHUTDOWN);
450+
dropped_tablet->save_meta();
450451
}
451452

452453
// Remove the tablet directory in background to avoid holding the lock of tablet map shard for long.

0 commit comments

Comments
 (0)