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

Sergey Uttsel updated IGNITE-19735:
-----------------------------------
    Description: 
h3. *Motivation*

MetaStorageManager has methods for distributive interaction with meta storage. 
But now there is added getLocally method to retrieve entries from the local 
KeyValueStorage. There will be more such methods. So we need:
 # create implementation of MetaStorageManager interface for interaction with 
local KeyValueStorage. Named it for example LocalMetaStorageManagerImpl.
 # Create method `MetaStorageManager local()` in MetaStorageManager.
 # For MetaStorageManagerImpl it will return LocalMetaStorageManagerImpl
 # For LocalMetaStorageManagerImpl it will throw UnsupportedOperationException.
 # Methods in LocalMetaStorageManagerImpl which cannot work will the local meta 
storage (for example put, invoke) must throw UnsupportedOperationException.
 # Remove method MetaStorageManager#getLocally(byte[] key, long revLowerBound, 
long revUpperBound) and create MetaStorageManager#get(byte[] key, long 
revLowerBound, long revUpperBound). The behavior of this method will be depend 
implementation (distributed or local).

h3. *Definition of Done*
 # Create implementation of MetaStorageManager for interaction with the local 
meta storage
 # MetaStorageManager has a method to get instance of local KeyValueStorage 
interface.

  was:
h3. *Motivation*

MetaStorageManager has methods for distributive interaction with meta storage. 
But now there is added getLocally method to retrieve entries from the local 
KeyValueStorage. There will be more such methods. So we need:
 # create implementation of MetaStorageManager interface for interaction with 
local KeyValueStorage. Named it for example LocalMetaStorageManagerImpl.
 # Create method `MetaStorageManager local()` in MetaStorageManager.
 # For MetaStorageManagerImpl it will return LocalMetaStorageManagerImpl
 # For LocalMetaStorageManagerImpl it will throw UnsupportedOperationException.
 # Methods in LocalMetaStorageManagerImpl which cannot work will the local meta 
storage (for example put, invoke) must throw UnsupportedOperationException.

h3. *Definition of Done*
 # Create implementation of MetaStorageManager for interaction with the local 
meta storage
 # MetaStorageManager has a method to get instance of local KeyValueStorage 
interface.


> Create implementation of MetaStorageManager for interaction with the local 
> meta storage
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-19735
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19735
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergey Uttsel
>            Assignee: Sergey Uttsel
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> h3. *Motivation*
> MetaStorageManager has methods for distributive interaction with meta 
> storage. But now there is added getLocally method to retrieve entries from 
> the local KeyValueStorage. There will be more such methods. So we need:
>  # create implementation of MetaStorageManager interface for interaction with 
> local KeyValueStorage. Named it for example LocalMetaStorageManagerImpl.
>  # Create method `MetaStorageManager local()` in MetaStorageManager.
>  # For MetaStorageManagerImpl it will return LocalMetaStorageManagerImpl
>  # For LocalMetaStorageManagerImpl it will throw 
> UnsupportedOperationException.
>  # Methods in LocalMetaStorageManagerImpl which cannot work will the local 
> meta storage (for example put, invoke) must throw 
> UnsupportedOperationException.
>  # Remove method MetaStorageManager#getLocally(byte[] key, long 
> revLowerBound, long revUpperBound) and create MetaStorageManager#get(byte[] 
> key, long revLowerBound, long revUpperBound). The behavior of this method 
> will be depend implementation (distributed or local).
> h3. *Definition of Done*
>  # Create implementation of MetaStorageManager for interaction with the local 
> meta storage
>  # MetaStorageManager has a method to get instance of local KeyValueStorage 
> interface.



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

Reply via email to