PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HClusterSynchronizationInfo (Function)
In French: HClusterInfoSynchronisation
HFSQL Client/ServerAvailable only with this kind of connection
Returns the progress of synchronization for a node of a HFSQL cluster.
Reminder: A synchronization is automatically performed when a cluster node is abnormally stopped for example: when restarted, this node is synchronized with another node that contains the updated data.
Example
// Status of synchronization
CurrentStatus is string
CurrentStatus = HClusterSynchronizationInfo("MyCoordinator","MyPassword", "NodeName")
Trace("Current status " + ExtractString(CurrentStatus, 1, CR) + ...
"Step number " + ExtractString(CurrentStatus, 2, CR) + ...
"Number of steps " + ExtractString(CurrentStatus, 3, CR) + ...
"Progress " + ExtractString(CurrentStatus, 4, CR))
Syntax
<Result> = HClusterSynchronizationInfo(<Coordinator> , <Password> , <Node>)
<Result>: Character string
Information about node synchronization. This result has the following format:
<Description of Current Step> + CR + <Number of Current Step> + CR +
<Number of Steps> + CR + <Progress (in per thousand)>
<Coordinator>: Character string (with quotes)
DNS name of computer where the cluster coordinator is installed.
<Password>: Character string (with quotes)
Password used to connect to the coordinator. This password was given when installing the cluster.
<Node>: Character string (with quotes)
DNS name of node currently synchronized.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment