You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2019/07/03 19:33:00 UTC

[jira] [Created] (ATLAS-3315) AtlasGraphProvider: Allow for Creation of JanusGraph DB Connection Initialized with Batch Loading Enabled

Ashutosh Mestry created ATLAS-3315:
--------------------------------------

             Summary: 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: 2.0.0, 1.2.0
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
             Fix For: trunk, 2.0.0, 1.2.0


*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.3#76005)