ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL Cluster / WLanguage functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 an 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
DNS name of computer where the cluster coordinator is installed.
<Password>: Character string
Password used to connect to the coordinator. This password was given when installing the cluster.
<Node>: Character string
DNS name of node currently synchronized.
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help