Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ private void resumePartitionDeletions() {
private void completeDeleteTable(long tableId) {
Set<TableBucketReplica> replicas = coordinatorContext.getAllReplicasForTable(tableId);
replicaStateMachine.handleStateChanges(replicas, ReplicaState.NonExistentReplica);
asyncDeleteRemoteDirectory(tableId);
asyncDeleteTableMetadata(tableId);
asyncDeleteRemoteDirectory(tableId);
coordinatorContext.removeTable(tableId);
// Release the manager's in-flight tracking so the next batch can be submitted.
lifecycleThrottler.onTableDropCompleted(tableId);
Expand All @@ -284,8 +284,8 @@ private void completeDeletePartition(TablePartition tablePartition) {
coordinatorContext.getAllReplicasForPartition(
tablePartition.getTableId(), tablePartition.getPartitionId());
replicaStateMachine.handleStateChanges(replicas, ReplicaState.NonExistentReplica);
asyncDeleteRemoteDirectory(tablePartition);
asyncDeletePartitionMetadata(tablePartition.getPartitionId());
asyncDeleteRemoteDirectory(tablePartition);
coordinatorContext.removePartition(tablePartition);
lifecycleThrottler.onPartitionDropCompleted(tablePartition);
}
Expand Down