raoluSmile commented on code in PR #3431:
URL: https://github.com/apache/fluss/pull/3431#discussion_r3354649155


##########
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorEventProcessor.java:
##########
@@ -765,6 +765,14 @@ private void 
processTableRegistrationChange(TableRegistrationChangeEvent event)
         }
 
         TableInfo oldTableInfo = coordinatorContext.getTableInfoById(tableId);
+        if (oldTableInfo == null) {
+            LOG.warn(
+                    "Table {} with id {} is not loaded in coordinator context, 
"
+                            + "skip processing table registration change.",
+                    tablePath,
+                    tableId);
+            return;

Review Comment:
   Thanks for the explanation. I agree that the missing TableInfo case is an 
inconsistent coordinator context state and should not be silently skipped. I’ll 
remove the oldTableInfo null check and keep the fix focused on UNKNOWN_TABLE_ID.



-- 
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]

Reply via email to