You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Sh-Zh-7 (via GitHub)" <gi...@apache.org> on 2024/03/21 05:42:05 UTC

[PR] Display 'UNKNOWN' in `SHOW FUNCTIONS` when CN accidentally drop DN's function. [iotdb]

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-unsubscribe@iotdb.apache.org

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


Re: [PR] Display 'UNKNOWN' in `SHOW FUNCTIONS` when CN accidentally drop DN's function. [iotdb]

Posted by "JackieTien97 (via GitHub)" <gi...@apache.org>.
JackieTien97 merged PR #12208:
URL: https://github.com/apache/iotdb/pull/12208


-- 
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-unsubscribe@iotdb.apache.org

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