You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/04/17 11:26:28 UTC

[GitHub] [ignite] NSAmelchev commented on pull request #9983: IGNITE-16866: Integer value is out of bounds when the dataregion maxS…

NSAmelchev commented on PR #9983:
URL: https://github.com/apache/ignite/pull/9983#issuecomment-1100856891

   @liyuj, Hi! Thanks for the PR.
   
   Could you add a reproducer? 
   
   Something like a test in the `CacheDataRegionConfigurationTest` class:
   ```
       /** @throws Exception If failed. */
       @Test
       public void testLargeRegionsWithEviction() throws Exception {
           DataRegionConfiguration cfg1 = new DataRegionConfiguration()
               .setName("region-1")
               .setMaxSize(4 * 1024 * U.GB)
               .setPageEvictionMode(DataPageEvictionMode.RANDOM_LRU);
   
           DataRegionConfiguration cfg2 = new DataRegionConfiguration()
               .setName("region-2")
               .setMaxSize(4 * 1024 * U.GB)
               .setPageEvictionMode(DataPageEvictionMode.RANDOM_2_LRU);
   
           memCfg = new DataStorageConfiguration().setDataRegionConfigurations(cfg1, cfg2);
   
           startGrid();
       }
   ```
   And then please get a visa from the CI bot. See [How to Contribute](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org