The Fabric Set Sync command is used to define the synchronization mode of an instance from source systems. The default value is On.
SYNTAX: SET SYNC [SYNC MODE];
Sync Mode |
Description |
When is an Instance Synced? |
ON |
Run a sync according to the Sync method which can be None, Time Interval, Inherited or Decision Function. |
|
OFF |
Don't sync. |
|
FORCE |
Always sync. |
Synchronization is performed on every operation on the Fabric LU instance, regardless of the sync method definitions of the LU. The only exception is when using a Decision function. If the Decision function returns False, the data is not synced. |
DELTA |
Delta sync. |
Added to Release 6.4.1: Valid in the iidFinder in Delta Partition mode when there is no delta will be running in Sync Off mode otherwsie Sync On. |
Note that the sync returns an error message when a source is not available. To change this, use the set ignore_source_exception true command.
Sync On protection improves the response time of multiple GET LUI requests on the same LUI and Fabric node. For example, executing a stress test by running a Web Service with the same LUI on multiple threads. In principle, since each request requires a write lock in the LUI's MicroDB, multiple requests on the same LUI and Fabric node are executed sequentially if they all implement Sync On mode. This means that even when LUI populations are not run, a short check can take a long time before the last GET is successful.
To avoid checking each LUI, Fabric implements Sync On mode only on the first GET request on the LUI. Remaining requests are executed in parallel to the first request when executed in Sync Off mode.
SYNC_PROTECTION can be edited in the config.ini file:
As of Release 6.2.3, SYNC_PROTECTION can be disabled on the session level using the SET SYNC_PROTECTION=off command.
The Force Upgrade Post Deploy checkbox is defined for each predefined Fabric server in the Server Configuration window:
This checkbox defines the Sync mode of the first GET of each LU instance (LUI) after the LU is deployed to the server:
Notes
Example 1
Example 2
Click for more information about the Get LUI Fabric Command.
The Fabric UserCode class holds the method that returns the Sync mode set for the current session:
public static String getSyncMode();
This method can be invoked by a Decision function. For example: If the Sync Mode is Force, then return True to sync the instance. Else, do not sync the instance.
To view the list of Fabric APIs, click http://[Fabric IP address]:3213/static/doc/user-api/index.html.
The Fabric Set Sync command is used to define the synchronization mode of an instance from source systems. The default value is On.
SYNTAX: SET SYNC [SYNC MODE];
Sync Mode |
Description |
When is an Instance Synced? |
ON |
Run a sync according to the Sync method which can be None, Time Interval, Inherited or Decision Function. |
|
OFF |
Don't sync. |
|
FORCE |
Always sync. |
Synchronization is performed on every operation on the Fabric LU instance, regardless of the sync method definitions of the LU. The only exception is when using a Decision function. If the Decision function returns False, the data is not synced. |
DELTA |
Delta sync. |
Added to Release 6.4.1: Valid in the iidFinder in Delta Partition mode when there is no delta will be running in Sync Off mode otherwsie Sync On. |
Note that the sync returns an error message when a source is not available. To change this, use the set ignore_source_exception true command.
Sync On protection improves the response time of multiple GET LUI requests on the same LUI and Fabric node. For example, executing a stress test by running a Web Service with the same LUI on multiple threads. In principle, since each request requires a write lock in the LUI's MicroDB, multiple requests on the same LUI and Fabric node are executed sequentially if they all implement Sync On mode. This means that even when LUI populations are not run, a short check can take a long time before the last GET is successful.
To avoid checking each LUI, Fabric implements Sync On mode only on the first GET request on the LUI. Remaining requests are executed in parallel to the first request when executed in Sync Off mode.
SYNC_PROTECTION can be edited in the config.ini file:
As of Release 6.2.3, SYNC_PROTECTION can be disabled on the session level using the SET SYNC_PROTECTION=off command.
The Force Upgrade Post Deploy checkbox is defined for each predefined Fabric server in the Server Configuration window:
This checkbox defines the Sync mode of the first GET of each LU instance (LUI) after the LU is deployed to the server:
Notes
Example 1
Example 2
Click for more information about the Get LUI Fabric Command.
The Fabric UserCode class holds the method that returns the Sync mode set for the current session:
public static String getSyncMode();
This method can be invoked by a Decision function. For example: If the Sync Mode is Force, then return True to sync the instance. Else, do not sync the instance.
To view the list of Fabric APIs, click http://[Fabric IP address]:3213/static/doc/user-api/index.html.