Sh-Zh-7 opened a new pull request, #12208:
URL: https://github.com/apache/iotdb/pull/12208

   When CNs execute `DROP FUNCTION`, the deletion will fail if one of DNs went 
down, but other DNs will still be affected, i.e., they will drop relevant 
information about this function.
   After that, CNs consider that the to-be-deleted function still exists, so 
when it executes `SHOW FUNCTIONS`, it sends its information to DNs. It's DN's 
responsibility to add more detail on top of that.
   However, from DN's perspective, the function is already dropped. So it will 
throw Null Pointer Exception.
   
   In this PR, we display `UNKNOWN` if DN cannot find function, and thus avoids 
this issue.
   
![20240321-131427](https://github.com/apache/iotdb/assets/43316505/f0365e3d-b988-4e2a-8e76-6e51eb4e707e)
   


-- 
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: reviews-unsubscr...@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to