atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kantor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1026) StoreBackedTypeCache issues
Date Fri, 15 Jul 2016 18:02:20 GMT

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

David Kantor updated ATLAS-1026:
--------------------------------
    Description: 
After ATLAS-1010, StoreBackedTypeCache introduces cyclic calls - StoreBackedTypeCache.getTypeFromStore()
calls TypeSystem.defineTypes() which inturn calls TypeSystem.has() which in turn calls StoreBackedTypeCache.getTypeFromStore().

DefaultTypeCache.put() and putAll() should use putIfAbsent()

  was:
After ATLAS-1010, StoreBackedTypeCache introduces cyclic calls - StoreBackedTypeCache.getTypeFromStore()
calls TypeSystem.defineTypes() which inturn calls TypeSystem.has() which in turn calls StoreBackedTypeCache.getTypeFromStore().

Also, StoreBackedTypeCache.Context is static which will not work

DefaultTypeCache.put() and putAll() should use putIfAbsent()


> StoreBackedTypeCache issues
> ---------------------------
>
>                 Key: ATLAS-1026
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1026
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: David Kantor
>
> After ATLAS-1010, StoreBackedTypeCache introduces cyclic calls - StoreBackedTypeCache.getTypeFromStore()
calls TypeSystem.defineTypes() which inturn calls TypeSystem.has() which in turn calls StoreBackedTypeCache.getTypeFromStore().
> DefaultTypeCache.put() and putAll() should use putIfAbsent()



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

Mime
View raw message