Madhan Neethiraj created ATLAS-5290:
---------------------------------------

             Summary: Option to skip type initialization/updates during server 
startup
                 Key: ATLAS-5290
                 URL: https://issues.apache.org/jira/browse/ATLAS-5290
             Project: Atlas
          Issue Type: Improvement
          Components:  atlas-core
            Reporter: Madhan Neethiraj


During every startup, Atlas server loads type-definitions (entity, 
releationship, classification, business metadata) files from json files and 
updates its database when necessary. This mechanism is used to:
 # initialize Atlas database in a fresh installation
 # update type-definitions in Atlas database during upgrades, to reflect 
changes in the newer version (like addition of entity types, attributes)

Initializing/updating of type-definitions introduces significant delay in every 
startup of Atlas server - even though the definitions in json files change only 
during upgrades. Atlas server should provide an option to skip 
initialization/update of type-definitions - for example via a command-line 
option.

It will be useful to support command-line option {{{}--run-mode{}}}, with one 
of the following as valid values:
 # {*}server{*}: skip type initialization/update - default value)
 # {*}import-types{*}: initialize/update types in Atlas database from types in 
json files and exit

This approach will enable addition of more modes like {{repair-index}} later.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to