You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mikhail Efremov (Jira)" <ji...@apache.org> on 2025/11/05 10:30:00 UTC
[jira] [Created] (IGNITE-26940) Remove excessive catalog null assertions
Mikhail Efremov created IGNITE-26940:
----------------------------------------
Summary: Remove excessive catalog null assertions
Key: IGNITE-26940
URL: https://issues.apache.org/jira/browse/IGNITE-26940
Project: Ignite
Issue Type: Improvement
Reporter: Mikhail Efremov
Assignee: Mikhail Efremov
*Description*
For now if {{CatalogManager#catalog}} can't find a catalog by given version token then {{CatalogNotFoundException}} will be thrown and this behavior is documented. Besides there are a lot of checks and assertions on the method's result against {{null}} value that is impossible with the current implementation.
*Motivation*
We have to maintain code base cleaner.
*Definition of done*
Remove excessive checks of {{CatalogManager#catalog}} on {{null}} value and replace with {{try-catch}} clauses if necessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)