You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Fred Krone (JIRA)" <ji...@apache.org> on 2017/12/07 22:41:00 UTC
[jira] [Commented] (GEODE-3554) Fix startup freeze at callback to
CacheFactory.getAnyInstance()
[ https://issues.apache.org/jira/browse/GEODE-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282635#comment-16282635 ]
Fred Krone commented on GEODE-3554:
-----------------------------------
Will pull this in as a possible 1.4 add for logging the warning when using CacheFactory.getAnyInstance() during a user plug-in callback.
> Fix startup freeze at callback to CacheFactory.getAnyInstance()
> -----------------------------------------------------------------
>
> Key: GEODE-3554
> URL: https://issues.apache.org/jira/browse/GEODE-3554
> Project: Geode
> Issue Type: New Feature
> Components: core
> Reporter: Fred Krone
> Labels: cache
>
> As long as the product continues to invoke user plug-in callbacks during startup (and with the main thread), we probably need to document a warning not to use CacheFactory.getAnyInstance() as the API call is common in plug-ins and this will freeze startup.
> A better fix could be to make changes to cache initialization that would prevent this deadlock.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)