[ 
https://issues.apache.org/jira/browse/GEODE-4689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-4689:
----------------------------------
    Labels: pull-request-available  (was: )

> Improved mechanism to wait for partition region colocation to complete.
> -----------------------------------------------------------------------
>
>                 Key: GEODE-4689
>                 URL: https://issues.apache.org/jira/browse/GEODE-4689
>             Project: Geode
>          Issue Type: Sub-task
>          Components: lucene
>            Reporter: nabarun
>            Priority: Major
>              Labels: pull-request-available
>
> File location : IndexRepositoryFactory.java
> Method : computeIndexRepository
> Code:
> {code:java}
> PartitionRegionConfig prConfig =
>     (PartitionRegionConfig) prRoot.get(fileRegion.getRegionIdentifier());
> while (!prConfig.isColocationComplete()) {
>   prConfig = (PartitionRegionConfig) 
> prRoot.get(fileRegion.getRegionIdentifier());
> }
> {code}
>  
> Solution Acceptance :
> We should not  depend on an infinite while loop to wait for all partition 
> region colocations to be completed.
> We should find a better way and use that to replace the code above.



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

Reply via email to