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

Madhan Neethiraj updated ATLAS-3315:
------------------------------------
    Fix Version/s:     (was: 1.2.0)
                       (was: 2.0.0)
                       (was: trunk)
                   1.3.0
                   3.0.0
                   2.1.0

> AtlasGraphProvider: Allow for Creation of JanusGraph DB Connection 
> Initialized with Batch Loading Enabled
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3315
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3315
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.2.0, 2.0.0
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>             Fix For: 2.1.0, 3.0.0, 1.3.0
>
>         Attachments: 
> ATLAS-3315-Database-initialization-exception-handlin.patch
>
>
> *Description*
> Case where _JanusGraphFactory.open_ throws an exception, the initialization 
> goes into an infinite loop.
> _Expected Behavior_: The exception should be logged and initialization should 
> exit.
> _Actual Behavior_: Initialization goes into an infinite loop.
> _Root cause:_
>  # If _JanusGraphFactory.open_ encounters errors, we log it and proceed with 
> construction of _AtlasJanusGraphDatabase_.
>  # The ctor of _AtlasJanusGraphDatabase_ calls _getInstance_ which goes back 
> to step 1.
>  *Solution*
> Handle exception and log, initialize _AtlasJanusGraphDatabase_ only on 
> successful completion of _JanusGraphFactory.open._



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to