Data replication

After a data has been added to the DAGDA hierarchy, the users can choose to replicate it explicitely on one or several DIET nodes. With the current DAGDA version, we allow to choose the nodes where the data will be replicated by hostname or DAGDA component ID. In future developments, it will be possible to select the nodes differently. To maintain backward compatibility, the replication function uses a C-string to define the replication rule.
dagda_replicate_data(const char* id, const char* rule)
The replication rule is defined as follows:
Pattern target:identification pattern:Capacity overflow behavior

For example, “host:capricorne-*.lyon.*:replace” is a valid replication rule.

The DIET Team - Mer 29 nov 2017 15:13:36 EST