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

Nusrat Shakarov updated IGNITE-27221:
-------------------------------------
    Component/s: metrics ai3
                 rest ai3

> metric/node/set call violates OpenApi specification
> ---------------------------------------------------
>
>                 Key: IGNITE-27221
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27221
>             Project: Ignite
>          Issue Type: Bug
>          Components: metrics ai3, rest ai3
>            Reporter: Nusrat Shakarov
>            Priority: Major
>
> How to reproduce:
> 1. Update node config to enable aiMem storage profile
> {code:java}
> node config update "ignite.storage.profiles:{inMem{engine:aimem}}" {code}
> 2. Create zone and table in this zone
> {code:java}
> CREATE ZONE inMemZone (PARTITIONS 18, REPLICAS 2) STORAGE PROFILES ['inMem'];
> CREATE TABLE inMemTable (  id INT PRIMARY KEY,  val VARCHAR) ZONE inMemZone; 
> {code}
> 3. Call
> {code:java}
> http://localhost:10300/management/v1/metric/node/set {code}
> or cli command(this will fail because of spec violation)
> {code:java}
> node metric list {code}
> Actual result:
> metrics field in response is null
> Expected result:
> metrics field is not null because it is required in openApi specification



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

Reply via email to