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

ASF GitHub Bot commented on GEODE-3304:
---------------------------------------

GitHub user gesterzhou opened a pull request:

    https://github.com/apache/geode/pull/706

    GEODE-3304: when colocated child bucket is destroyed, it should not i…

    @upthewaterspout @boglesby 
    
    …mpact its
    
    parent bucket's creation.
    
    Thank you for submitting a contribution to Apache Geode.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in 
the commit message?
    
    - [ ] Has your PR been rebased against the latest commit within the target 
branch (typically `develop`)?
    
    - [ ] Is your initial contribution a single, squashed commit?
    
    - [ ] Does `gradlew build` run cleanly?
    
    - [ ] Have you written or updated unit tests to verify your changes?
    
    - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
    
    ### Note:
    Please ensure that once the PR is submitted, you check travis-ci for build 
issues and
    submit an update to your PR as soon as possible. If you need help, please 
send an
    email to d...@geode.apache.org.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/geode feature/GEODE-3304

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/706.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #706
    
----
commit 53e27cf21f9c4285d2079ccc7f07fb688e097828
Author: zhouxh <gz...@pivotal.io>
Date:   2017-08-09T23:55:41Z

    GEODE-3304: when colocated child bucket is destroyed, it should not impact 
its
    parent bucket's creation.

----


> CI failure: 
> LuceneIndexDestroyDUnitTest.verifyDestroySingleIndexWhileDoingPuts fails with 
> RegionDestroyedException
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3304
>                 URL: https://issues.apache.org/jira/browse/GEODE-3304
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.3.0
>            Reporter: Shelley Lynn Hughes-Godfrey
>
> {noformat}
> org.apache.geode.cache.lucene.LuceneIndexDestroyDUnitTest > 
> verifyDestroySingleIndexWhileDoingPuts(PARTITION_REDUNDANT) [1] FAILED
>     org.apache.geode.InternalGemFireError: 
> org.apache.geode.cache.RegionDestroyedException: Partitioned Region @354cb015 
> [path='/region'; dataPolicy=PARTITION; prId=239; isDestroyed=false; 
> isClosed=false; retryTimeout=3600000; serialNumber=4204; partition 
> attributes=PartitionAttributes@536733386[redundantCopies=1;localMaxMemory=100;totalMaxMemory=2147483647;totalNumBuckets=10;partitionResolver=null;colocatedWith=null;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null];
>  on VM 172.17.0.8(172)<v161>:32770], caused by 
> org.apache.geode.cache.RegionDestroyedException: Partitioned Region @43ee7285 
> [path='/AsyncEventQueue_index#_region_PARALLEL_GATEWAY_SENDER_QUEUE'; 
> dataPolicy=PARTITION; prId=240; isDestroyed=true; isClosed=false; 
> retryTimeout=3600000; serialNumber=4216; partition 
> attributes=PartitionAttributes@1047578025[redundantCopies=1;localMaxMemory=1000;totalMaxMemory=2147483647;totalNumBuckets=10;partitionResolver=null;colocatedWith=/region;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null];
>  on VM 172.17.0.8(172)<v161>:32770]
>         at org.apache.geode.internal.Assert.throwError(Assert.java:94)
>         at org.apache.geode.internal.Assert.fail(Assert.java:68)
>         at 
> org.apache.geode.cache.lucene.LuceneIndexDestroyDUnitTest.verifyDestroySingleIndexWhileDoingPuts(LuceneIndexDestroyDUnitTest.java:175)
>         Caused by:
>         org.apache.geode.cache.RegionDestroyedException: Partitioned Region 
> @354cb015 [path='/region'; dataPolicy=PARTITION; prId=239; isDestroyed=false; 
> isClosed=false; retryTimeout=3600000; serialNumber=4204; partition 
> attributes=PartitionAttributes@536733386[redundantCopies=1;localMaxMemory=100;totalMaxMemory=2147483647;totalNumBuckets=10;partitionResolver=null;colocatedWith=null;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null];
>  on VM 172.17.0.8(172)<v161>:32770], caused by 
> org.apache.geode.cache.RegionDestroyedException: Partitioned Region @43ee7285 
> [path='/AsyncEventQueue_index#_region_PARALLEL_GATEWAY_SENDER_QUEUE'; 
> dataPolicy=PARTITION; prId=240; isDestroyed=true; isClosed=false; 
> retryTimeout=3600000; serialNumber=4216; partition 
> attributes=PartitionAttributes@1047578025[redundantCopies=1;localMaxMemory=1000;totalMaxMemory=2147483647;totalNumBuckets=10;partitionResolver=null;colocatedWith=/region;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null];
>  on VM 172.17.0.8(172)<v161>:32770]
>             at 
> org.apache.geode.internal.cache.PartitionedRegion.virtualPut(PartitionedRegion.java:2036)
>             at 
> org.apache.geode.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:151)
>             at 
> org.apache.geode.internal.cache.LocalRegion.basicPut(LocalRegion.java:5027)
>             at 
> org.apache.geode.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1580)
>             at 
> org.apache.geode.internal.cache.LocalRegion.put(LocalRegion.java:1567)
>             at 
> org.apache.geode.internal.cache.AbstractRegion.put(AbstractRegion.java:325)
>             at 
> org.apache.geode.cache.lucene.LuceneIndexDestroyDUnitTest.doPutsUntilStopped(LuceneIndexDestroyDUnitTest.java:548)
>             at 
> org.apache.geode.cache.lucene.LuceneIndexDestroyDUnitTest.lambda$verifyDestroySingleIndexWhileDoingPuts$b814fe7d$1(LuceneIndexDestroyDUnitTest.java:157)
>             Caused by:
>             org.apache.geode.cache.RegionDestroyedException: Partitioned 
> Region @43ee7285 
> [path='/AsyncEventQueue_index#_region_PARALLEL_GATEWAY_SENDER_QUEUE'; 
> dataPolicy=PARTITION; prId=240; isDestroyed=true; isClosed=false; 
> retryTimeout=3600000; serialNumber=4216; partition 
> attributes=PartitionAttributes@1047578025[redundantCopies=1;localMaxMemory=1000;totalMaxMemory=2147483647;totalNumBuckets=10;partitionResolver=null;colocatedWith=/region;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null];
>  on VM 172.17.0.8(172)<v161>:32770]
>                 at 
> org.apache.geode.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:7324)
>                 at 
> org.apache.geode.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2712)
>                 at 
> org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucket(PartitionedRegionDataStore.java:492)
>                 at 
> org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucketRecursively(PartitionedRegionDataStore.java:272)
>                 at 
> org.apache.geode.internal.cache.PartitionedRegionDataStore.grabBucket(PartitionedRegionDataStore.java:2813)
>                 at 
> org.apache.geode.internal.cache.PartitionedRegionDataStore.handleManageBucketRequest(PartitionedRegionDataStore.java:956)
>                 at 
> org.apache.geode.internal.cache.PRHARedundancyProvider.createBucketOnMember(PRHARedundancyProvider.java:1214)
>                 at 
> org.apache.geode.internal.cache.PRHARedundancyProvider.createBucketInstance(PRHARedundancyProvider.java:390)
>                 at 
> org.apache.geode.internal.cache.PRHARedundancyProvider.createBucketAtomically(PRHARedundancyProvider.java:578)
>                 at 
> org.apache.geode.internal.cache.PartitionedRegion.createBucket(PartitionedRegion.java:3254)
>                 at 
> org.apache.geode.internal.cache.PartitionedRegion.virtualPut(PartitionedRegion.java:1998)
>                 ... 7 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to