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

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

{panel:title=Branch: [pull/9815/head] Base: [master] : Possible Blockers 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}SPI{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci2.ignite.apache.org/viewLog.html?buildId=6305704]]

{panel}
{panel:title=Branch: [pull/9815/head] Base: [master] : New Tests 
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS 2{color} [[tests 
3|https://ci2.ignite.apache.org/viewLog.html?buildId=6305682]]
* {color:#013220}IgnitePdsTestSuite2: 
RestartWithWalForceArchiveTimeoutTest.testRestart[walMode=LOG_ONLY] - 
PASSED{color}
* {color:#013220}IgnitePdsTestSuite2: 
RestartWithWalForceArchiveTimeoutTest.testRestart[walMode=BACKGROUND] - 
PASSED{color}
* {color:#013220}IgnitePdsTestSuite2: 
RestartWithWalForceArchiveTimeoutTest.testRestart[walMode=FSYNC] - PASSED{color}

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

> WALForceArchiveTimeout lead to node fails to restart
> ----------------------------------------------------
>
>                 Key: IGNITE-16523
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16523
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Nikolay Izhikov
>            Assignee: Nikolay Izhikov
>            Priority: Blocker
>              Labels: IEP-59
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When WALForceArchiveTimeout set node failed to restart.
> {code:java}
> /** */
> @RunWith(Parameterized.class)
> public class RestartWithWalForceArchiveTimeoutTest extends 
> GridCommonAbstractTest {
>     /** */
>     @Parameterized.Parameter
>     public WALMode walMode;
>     /** {@inheritDoc} */
>     @Override protected IgniteConfiguration getConfiguration(String 
> igniteInstanceName) throws Exception {
>         IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
>         cfg.setConsistentId(igniteInstanceName);
>         cfg.setDataStorageConfiguration(new DataStorageConfiguration()
>             .setWalMode(walMode)
>             .setWalForceArchiveTimeout(60 * 60 * 1000) // 1 hour to make sure 
> auto archive will not work.
>             .setDefaultDataRegionConfiguration(new 
> DataRegionConfiguration().setPersistenceEnabled(true)));
>         return cfg;
>     }
>     /** */
>     @Parameterized.Parameters(name = "walMode={0}")
>     public static Collection<?> parameters() {
>         return EnumSet.of(WALMode.FSYNC, WALMode.LOG_ONLY, 
> WALMode.BACKGROUND);
>     }
>     /** */
>     @Test
>     public void testRestart() throws Exception {
>         stopAllGrids(true);
>         cleanPersistenceDir();
>         Supplier<IgniteEx> restart = () -> {
>             stopAllGrids(true);
>             try {
>                 IgniteEx ign = startGrid(getConfiguration("ignite-0"));
>                 ign.cluster().state(ACTIVE);
>                 return ign;
>             }
>             catch (Exception e) {
>                 throw new RuntimeException(e);
>             }
>         };
>         IgniteEx ign = restart.get();
>         IgniteCache<Integer, AbstractCdcTest.User> cache = 
> ign.getOrCreateCache(DEFAULT_CACHE_NAME);
>         addData(cache, 0, 100);
>         ign = restart.get();
>         cache = ign.getOrCreateCache(DEFAULT_CACHE_NAME);
>         addData(cache, 100, 200);
>         ign = restart.get();
>         cache = ign.getOrCreateCache(DEFAULT_CACHE_NAME);
>         addData(cache, 200, 300);
>         restart.get();
>     }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to