This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 4a45b53369 [core] Log the right name of the deleting tag. (#5894)
4a45b53369 is described below
commit 4a45b533696296b8f67722a3a8b81a706ae5df03
Author: JackeyLee007 <[email protected]>
AuthorDate: Tue Jul 15 10:59:32 2025 +0800
[core] Log the right name of the deleting tag. (#5894)
---
.../src/main/java/org/apache/paimon/tag/TagAutoCreation.java | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
a/paimon-core/src/main/java/org/apache/paimon/tag/TagAutoCreation.java
b/paimon-core/src/main/java/org/apache/paimon/tag/TagAutoCreation.java
index 5232e89a8b..08dfe25378 100644
--- a/paimon-core/src/main/java/org/apache/paimon/tag/TagAutoCreation.java
+++ b/paimon-core/src/main/java/org/apache/paimon/tag/TagAutoCreation.java
@@ -179,15 +179,12 @@ public class TagAutoCreation {
int toDelete = tags.size() - numRetainedMax;
int i = 0;
for (List<String> tag : tags.values()) {
+ String toDeleteTag = checkAndGetOneAutoTag(tag);
LOG.info(
"Delete tag {}, because the number of
auto-created tags reached numRetainedMax of {}.",
- tagName,
+ toDeleteTag,
numRetainedMax);
- tagManager.deleteTag(
- checkAndGetOneAutoTag(tag),
- tagDeletion,
- snapshotManager,
- callbacks);
+ tagManager.deleteTag(toDeleteTag, tagDeletion,
snapshotManager, callbacks);
i++;
if (i == toDelete) {
break;