Mikhail Efremov created IGNITE-25824:
----------------------------------------
Summary: Need STORAGE_PROFILE Validation in CREATE ZONE
Key: IGNITE-25824
URL: https://issues.apache.org/jira/browse/IGNITE-25824
Project: Ignite
Issue Type: Bug
Reporter: Mikhail Efremov
Assignee: Mikhail Efremov
Zone is successfully created even if profile name passed in WITH
STORAGE_PROFILES does not exist. This creates confusion and further issues down
the process when tables are then created in the Zone.
To reproduce:
# Start and initialize a AI3 cluster (usually only ‘default’ storage
profile exists)
# Create a zone {{CREATE ZONE customeZone WITH STORAGE_PROFILES=
'thisNameDoesNotExist'}}.
# Check system view {{SELECT * FROM SYSTEM.ZONE_STORAGE_PROFILES}} and see
that zone is created.
# Furthermore, you can then create a table under this created zones.
*Expected behavior*
* The above should fail in step 2. This should not allow you to create a zone
successfully. We can have a message like:
** “STORAGE PROFILE WITH NAME “???” DOES NOT EXIST”
** And maybe another message about having to restart node first in case profile
was recently just added (but user forgot to restart node)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)