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

Kirill Tkalenko updated IGNITE-23104:
-------------------------------------
    Description: 
I found that for some fields of 
*org.apache.ignite.internal.schema.configuration.GcConfigurationSchema* there 
is no validation, it is necessary to add:
* *threads* - the number of threads cannot be less than 1, it can lead to 
errors at the start of the node since the thread  pool cannot be created with 
the number of threads less than 0.
* *batchSize* - it makes no sense to set less than 0, since even with 0 it will 
mean that we will not clean anything.

  was:
I found that for some fields of 
*org.apache.ignite.internal.schema.configuration.GcConfigurationSchema* there 
is no validation, it is necessary to add:
* *threads* - the number of threads cannot be less than 1, it can lead to 
errors at the start of the node since the thread  pool cannot be created with 
the number of threads less than 0.
*batchSize* - it makes no sense to set less than 0, since even with 0 it will 
mean that we will not clean anything.


> Add validation of some fields in GcConfigurationSchema
> ------------------------------------------------------
>
>                 Key: IGNITE-23104
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23104
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Kirill Tkalenko
>            Assignee: Kirill Tkalenko
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I found that for some fields of 
> *org.apache.ignite.internal.schema.configuration.GcConfigurationSchema* there 
> is no validation, it is necessary to add:
> * *threads* - the number of threads cannot be less than 1, it can lead to 
> errors at the start of the node since the thread  pool cannot be created with 
> the number of threads less than 0.
> * *batchSize* - it makes no sense to set less than 0, since even with 0 it 
> will mean that we will not clean anything.



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

Reply via email to