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)

Reply via email to