Skip to content

[Improvement] Avoid success drop/purge log when partition deletion returns false #10216

@justinmclean

Description

@justinmclean

What would you like to be improved?

PartitionOperations.dropPartition logs a success INFO message ("Partition {} {} in table ..."), even when the dispatcher returns false (meaning no partition was dropped/purged).
The method already detects this case and logs a warning, but then immediately emits a success log unconditionally.

How should we improve?

Only emit the INFO success log when dropped is true.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions