geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-3047) CI failure: PartitionedRegionSingleHopDUnitTest.testClientMetadataForPersistentPrs (ConflictingPersistentDataException)
Date Tue, 22 Aug 2017 22:37:02 GMT


ASF subversion and git services commented on GEODE-3047:

Commit 35d3a97edd5c6e8b3f4dd73af51771b0c4728cf6 in geode's branch refs/heads/feature/GEODE-3447
from [~agingade]
[;h=35d3a97 ]

GEODE-3047 Atomic creation flag is not set if the region is recoverd from the disk.

While creating bucket region, to satisfy the redudndancy copies the bucket regions
are created on all vailable nodes. The initialization (setting persistentIDs) of
these buckets are done after creating buckets on all the nodes. This introduced
a race condition for the bucket region which are recovered from the disk to
exchange thier old id with the peer node resulting in ConflictingPersistentData

The changes are done so that the regions persistent ids are set as soon as they
are created/initialized.

> CI failure: PartitionedRegionSingleHopDUnitTest.testClientMetadataForPersistentPrs (ConflictingPersistentDataException)
> -----------------------------------------------------------------------------------------------------------------------
>                 Key: GEODE-3047
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Lynn Gallinat
>            Assignee: Anilkumar Gingade
>             Fix For: 1.3.0
> org.apache.geode.internal.cache.PartitionedRegionSingleHopDUnitTest > testClientMetadataForPersistentPrs
>     java.lang.AssertionError: Suspicious strings were written to the log during this
>     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<v8>:32773 with persistent data /
created at timestamp 1496679288068 version 0 diskStoreId bd6add692799471a-af82daaafb9c36e8
name null which was offline when the local data from /
created at timestamp 1496679291626 version 0 diskStoreId 5a4a04c19efe4961-90fba2925786d398
name null was last online
>     	at org.apache.geode.internal.cache.persistence.PersistenceAdvisorImpl.checkMyStateOnMembers(
>     	at org.apache.geode.internal.cache.persistence.PersistenceAdvisorImpl.getInitialImageAdvice(
>     	at org.apache.geode.internal.cache.persistence.CreatePersistentRegionProcessor.getInitialImageAdvice(
>     	at org.apache.geode.internal.cache.DistributedRegion.getInitialImageAndRecovery(
>     	at org.apache.geode.internal.cache.DistributedRegion.initialize(
>     	at org.apache.geode.internal.cache.BucketRegion.initialize(
>     	at org.apache.geode.internal.cache.LocalRegion.createSubregion(
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.createBucketRegion(
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucket(
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucketRecursively(
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabFreeBucketRecursively(
>     	at org.apache.geode.internal.cache.PartitionedRegionDataStore.grabBucket(
>     	at org.apache.geode.internal.cache.ProxyBucketRegion.recoverFromDisk(
>     	at org.apache.geode.internal.cache.ProxyBucketRegion.recoverFromDiskRecursively(
>     	at org.apache.geode.internal.cache.PRHARedundancyProvider$4.run2(
>     	at
>     	at org.apache.geode.internal.cache.PRHARedundancyProvider$
>     	at

This message was sent by Atlassian JIRA

View raw message