You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/06/29 18:10:00 UTC

[jira] [Commented] (GEODE-3047) CI failure: PartitionedRegionSingleHopDUnitTest.testClientMetadataForPersistentPrs (ConflictingPersistentDataException)

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

Darrel Schneider commented on GEODE-3047:
-----------------------------------------

In some rare cases a spurious ConflictingPersistentDataException can happen with persistent partitioned regions. That is what is happening in this particular test. Unfortunately it could probably happen, intermittently, in any distributed test that recovers these types of regions.

So nothing is wrong with this particular test and we do not want all of the tests that recover from persistent partitioned regions to be marked as flaky. If we see I high incidence of this type of failure on a particular test then that test should be excluded until the spurious ConflictingPersistentDataException problem is solved.

> CI failure: PartitionedRegionSingleHopDUnitTest.testClientMetadataForPersistentPrs (ConflictingPersistentDataException)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3047
>                 URL: https://issues.apache.org/jira/browse/GEODE-3047
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Lynn Gallinat
>
> org.apache.geode.internal.cache.PartitionedRegionSingleHopDUnitTest > testClientMetadataForPersistentPrs FAILED
>     java.lang.AssertionError: Suspicious strings were written to the log during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     -----------------------------------------------------------------------
>     Found suspect string in log4j at line 11823
>     [error 2017/06/05 16:15:06.807 UTC <Recovery thread for bucket _B__CUSTOMER_0> tid=0xe9] A DiskAccessException has occurred while writing to the disk for region /__PR/_B__SHIPMENT_0. The cache will be closed.
>     org.apache.geode.cache.persistence.ConflictingPersistentDataException: Region /__PR/_B__SHIPMENT_0 refusing to initialize from member 172.17.0.3(177)<v8>:32773 with persistent data /172.17.0.3:/tmp/gemfire-build/geode/geode-core/build/distributedTest305/dunit/vm1/diskDir/disk1 created at timestamp 1496679288068 version 0 diskStoreId bd6add692799471a-af82daaafb9c36e8 name null which was offline when the local data from /172.17.0.3:/tmp/gemfire-build/geode/geode-core/build/distributedTest305/dunit/vm2/diskDir/disk2 created at timestamp 1496679291626 version 0 diskStoreId 5a4a04c19efe4961-90fba2925786d398 name null was last online
>     	at org.apache.geode.internal.cache.persistence.PersistenceAdvisorImpl.checkMyStateOnMembers(PersistenceAdvisorImpl.java:757)
>     	at org.apache.geode.internal.cache.persistence.PersistenceAdvisorImpl.getInitialImageAdvice(PersistenceAdvisorImpl.java:818)
>     	at org.apache.geode.internal.cache.persistence.CreatePersistentRegionProcessor.getInitialImageAdvice(CreatePersistentRegionProcessor.java:52)
>     	at org.apache.geode.internal.cache.DistributedRegion.getInitialImageAndRecovery(DistributedRegion.java:1144)
>     	at org.apache.geode.internal.cache.DistributedRegion.initialize(DistributedRegion.java:1023)
>     	at org.apache.geode.internal.cache.BucketRegion.initialize(BucketRegion.java:253)
>     	at org.apache.geode.internal.cache.LocalRegion.createSubregion(LocalRegion.java:962)
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.createBucketRegion(PartitionedRegionDataStore.java:726)
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucket(PartitionedRegionDataStore.java:414)
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucketRecursively(PartitionedRegionDataStore.java:272)
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucketRecursively(PartitionedRegionDataStore.java:289)
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabBucket(PartitionedRegionDataStore.java:2815)
>     	at org.apache.geode.internal.cache.ProxyBucketRegion.recoverFromDisk(ProxyBucketRegion.java:423)
>     	at org.apache.geode.internal.cache.ProxyBucketRegion.recoverFromDiskRecursively(ProxyBucketRegion.java:389)
>     	at org.apache.geode.internal.cache.PRHARedundancyProvider$4.run2(PRHARedundancyProvider.java:1736)
>     	at org.apache.geode.internal.cache.partitioned.RecoveryRunnable.run(RecoveryRunnable.java:61)
>     	at org.apache.geode.internal.cache.PRHARedundancyProvider$4.run(PRHARedundancyProvider.java:1728)
>     	at java.lang.Thread.run(Thread.java:748)



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