[
https://issues.apache.org/jira/browse/IGNITE-7757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Konstantinov updated IGNITE-7757:
---------------------------------------
Description:
# try to start a new cache with non-existing data region
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&dataRegion=0000
{code}
# then edit your request and make it correct and try again
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
{code}
You will get incorrect error message
{code}
"Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion
is not configured: 0000]"
{code}
was:
# try to start a new cache with non-existing cache group name
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&cacheGroup=0000
{code}
# then edit your request and make it correct and try again
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
{code}
> Unable to create a new cache via REST
> -------------------------------------
>
> Key: IGNITE-7757
> URL: https://issues.apache.org/jira/browse/IGNITE-7757
> Project: Ignite
> Issue Type: Bug
> Reporter: Pavel Konstantinov
> Priority: Major
>
> # try to start a new cache with non-existing data region
> {code}
> localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&dataRegion=0000
> {code}
> # then edit your request and make it correct and try again
> {code}
> localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
> {code}
> You will get incorrect error message
> {code}
> "Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion
> is not configured: 0000]"
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)