[jira] [Created] (IGNITE-13211) Improve public exceptions for case when user attempts to access data from a lost partition

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-13211) Improve public exceptions for case when user attempts to access data from a lost partition

Anton Vinogradov (Jira)
Ivan Rakov created IGNITE-13211:
-----------------------------------

             Summary: Improve public exceptions for case when user attempts to access data from a lost partition
                 Key: IGNITE-13211
                 URL: https://issues.apache.org/jira/browse/IGNITE-13211
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Rakov


After IGNITE-13003, attempt to access lost partition from public API throws CacheException with CacheInvalidStateException inside as a root cause. We can improve user experience a bit:
1. Create new type of public exception (subclass of CacheException), which will be thrown in accessing lost data scenarios
2. In case partition is lost in persistent cache, error message should be changed from "partition data has been lost" to "partition data temporary unavailable".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)