create_global_data_node() function

Create and return a new GLOBAL data node from a data node configuration.

This function checks and locks the configuration, manages application's version, and creates the new data node from the data node configuration provided.

Parameters:

Name Type Description Default
config DataNodeConfig

The data node configuration. It must have a GLOBAL scope.

required

Returns:

Type Description
DataNode

The new global data node.

Raises:

Type Description
DataNodeConfigIsNotGlobal

If the data node configuration does not have GLOBAL scope.

SystemExit

If the configuration check returns some errors.