[ 
https://issues.apache.org/jira/browse/IGNITE-24935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Puchkovskiy updated IGNITE-24935:
---------------------------------------
    Description: 
MvTableStorage contains methods that either get existing index partition 
storage or create a new one and return the result, but
 # we always use them in situations where we know that we need to create a 
storage
 # we never need the returned value

We should change getOrCreateHashIndex() and getOrCreateSortedIndex() to 
createHashIndex() and createSortedIndex(), respectively. This will allow us to 
make a quick and dirty fix for IGNITE-24926 which causes IGNITE-24885.

Also, getOrCreateIndex() method is not used in production code, so it should be 
removed.

  was:
MvTableStorage contains methods that either get existing index partition 
storage or create a new one and return the result, but
 # we always use them in situations where we know that we need to create a 
storage
 # we never need the returned value

We should change getOrCreateHashIndex() and getOrCreateSortedIndex() to 
createHashIndex() and createSortedIndex(), respectively. This will allow us to 
make a quick and dirty fix for IGNITE-24926.

Also, getOrCreateIndex() method is not used in production code, so it should be 
removed.


> Switch MvTableStorage to create*Index methods
> ---------------------------------------------
>
>                 Key: IGNITE-24935
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24935
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> MvTableStorage contains methods that either get existing index partition 
> storage or create a new one and return the result, but
>  # we always use them in situations where we know that we need to create a 
> storage
>  # we never need the returned value
> We should change getOrCreateHashIndex() and getOrCreateSortedIndex() to 
> createHashIndex() and createSortedIndex(), respectively. This will allow us 
> to make a quick and dirty fix for IGNITE-24926 which causes IGNITE-24885.
> Also, getOrCreateIndex() method is not used in production code, so it should 
> be removed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to