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

Dan Smith commented on GEODE-523:
---------------------------------

Maybe just a simple example that logs when a bucket becomes primary?  

I don't think the use case of having a listener on one region that moves stuff 
around in another region is one we should suggest. In fact, I think these APIs 
should probably come with a strong caution that implementations should be quick 
and not try to manipulate regions and data because the the callbacks are 
invoked while holding locks that may block region operations.

I'm not sure if the language about connected the mailing list is needed. We 
just need to appropriately caution the developer about what is safe to do with 
these APIs and what is not.



> PartitionListener requires tests and clean up
> ---------------------------------------------
>
>                 Key: GEODE-523
>                 URL: https://issues.apache.org/jira/browse/GEODE-523
>             Project: Geode
>          Issue Type: Test
>          Components: regions
>            Reporter: Kirk Lund
>            Assignee: Sai Boorlagadda
>
> Many users are using PartitionListener. This API requires tests, proper 
> javadocs and general cleanup.
> See GEODE-390 and GEODE-72



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to