[ 
https://issues.apache.org/jira/browse/IGNITE-19977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743036#comment-17743036
 ] 

Ignite TC Bot commented on IGNITE-19977:
----------------------------------------

{panel:title=Branch: [pull/10842/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10842/head] Base: [master] : New Tests 
(4)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS (Indexing){color} [[tests 
1|https://ci2.ignite.apache.org/viewLog.html?buildId=7255446]]
* {color:#013220}IgnitePdsWithIndexingTestSuite: 
IgnitePdsIndexingDefragmentationTest.testSuccessfulDefragmentationOneThread - 
PASSED{color}

{color:#00008b}PDS 8{color} [[tests 
3|https://ci2.ignite.apache.org/viewLog.html?buildId=7255444]]
* {color:#013220}IgnitePdsTestSuite8: 
IgnitePdsDefragmentationTest.testSuccessfulDefragmentationOneThread - 
PASSED{color}
* {color:#013220}IgnitePdsTestSuite8: 
IgnitePdsDefragmentationRandomLruEvictionTest.testSuccessfulDefragmentationOneThread
 - PASSED{color}
* {color:#013220}IgnitePdsTestSuite8: 
IgnitePdsDefragmentationEncryptionTest.testSuccessfulDefragmentationOneThread - 
PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7255485&buildTypeId=IgniteTests24Java8_RunAll]

> Defragmentation can't use 1 thread.
> -----------------------------------
>
>                 Key: IGNITE-19977
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19977
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.12
>            Reporter: Vladimir Steshin
>            Assignee: Vladimir Steshin
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> /**
>      * Sets maximum number of partitions which can be defragmented at the 
> same time.
>      *
>      * @param defragmentationThreadPoolSize Maximum number of partitions 
> which can be defragmented at the same time.
>      *      Default is {@link 
> DataStorageConfiguration#DFLT_DEFRAGMENTATION_THREAD_POOL_SIZE}.
>      * @return {@code this} for chaining.
>      */
>     public DataStorageConfiguration setDefragmentationThreadPoolSize(int 
> defragmentationThreadPoolSize) {
>         A.ensure(defragmentationThreadPoolSize > 1, "Defragmentation thread 
> pool size must be greater or equal to 1.");
>         this.defragmentationThreadPoolSize = defragmentationThreadPoolSize;
>         return this;
>     }
> {code}
> should compare with 0:
> {code:java}
> A.ensure(defragmentationThreadPoolSize > 0, "Defragmentation thread pool size 
> must be greater or equal to 1.");
> {code}
> Defragmentation actually works with just 1 thread. Also, 1 thread seems to be 
> a workaround for https://issues.apache.org/jira/browse/IGNITE-19904 . I 
> couldn't detect the failure with one defragmentation worker. 



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

Reply via email to