Shelley Lynn Hughes-Godfrey created GEODE-6248:
--------------------------------------------------

             Summary: Misspelling in warning 
""PartitionedRegion#cleanupFailedInitialization: Failed to clean the 
PartionRegion allPartitionedRegions"
                 Key: GEODE-6248
                 URL: https://issues.apache.org/jira/browse/GEODE-6248
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Shelley Lynn Hughes-Godfrey


This warning occurs 3 times in a single method (all misspelled):

geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java
{noformat}
5463   public void cleanupFailedInitialization() {
5464     super.cleanupFailedInitialization();
5465     // Fix for 44551 - make sure persistent buckets
5466     // are done recoverying from disk before sending the
5467     // destroy region message.
5468     this.redundancyProvider.waitForPersistentBucketRecovery();
5469     this.cache.removePartitionedRegion(this);
5470     
this.cache.getInternalResourceManager(false).removeResourceListener(this);
5471     this.redundancyProvider.shutdown(); // see bug 41094
5472     int serials[] = getRegionAdvisor().getBucketSerials();
5473     RegionEventImpl event = new RegionEventImpl(this, 
Operation.REGION_CLOSE, null, false,
5474         getMyId(), generateEventID()/* generate EventID */);
5475     try {
5476       sendDestroyRegionMessage(event, serials);
5477     } catch (Exception ex) {
5478       logger.warn(
5479           "PartitionedRegion#cleanupFailedInitialization(): Failed to 
clean the PartionRegion data store",
5480           ex);
5481     }
5482     if (null != this.dataStore) {
5483       try {
5484         this.dataStore.cleanUp(true, false);
5485       } catch (Exception ex) {
5486         logger.warn(
5487             "PartitionedRegion#cleanupFailedInitialization(): Failed to 
clean the PartionRegion data store",
5488             ex);
5489       }
5490     }
5491 
5492     if (this.cleanPRRegistration) {
5493       try {
5494         synchronized (prIdToPR) {
5495           if (prIdToPR.containsKey(this.partitionedRegionId)) {
5496             prIdToPR.put(this.partitionedRegionId, 
PRIdMap.FAILED_REGISTRATION, false);
5497             if (logger.isDebugEnabled()) {
5498               logger.debug("cleanupFailedInitialization: set failed for 
prId={} named {}",
5499                   this.partitionedRegionId, this.getName());
5500             }
5501           }
5502         }
5503 
5504         
PartitionedRegionHelper.removeGlobalMetadataForFailedNode(this.node,
5505             this.getRegionIdentifier(), getGemFireCache(), true);
5506       } catch (Exception ex) {
5507         logger.warn(
5508             "PartitionedRegion#cleanupFailedInitialization: Failed to 
clean the PartionRegion allPartitionedRegions",
5509             ex);
5510       }
5511     }
5512     this.distAdvisor.close();

{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to