Copilot commented on code in PR #6854:
URL: https://github.com/apache/hive/pull/6854#discussion_r4203569707


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java:
##########
@@ -117,6 +117,7 @@ public void run() {
         setupMsckPathInvalidation();
         Configuration msckConf = Msck.getMsckConf(conf);
         for (TableName table : candidates) {
+          qualifiedTableName = table.toString();

Review Comment:
   `qualifiedTableName` remains set after the submission loop, so task-level 
failures from `countDownLatch.await()` (for example, interruption) or 
`shutdownNow()` are incorrectly reported against the final candidate table. 
Clear this per-table context once all submissions succeed so only 
construction/submission failures are attributed to a table.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to