Database synchronization data is returned in the following format:
{
"message": "Data retrieved",
"data":
[
{
"dcName": "string",
"dbName": "string", // postgres|neo4j
"podName": "string",
"role": "string", // PRIMARY|STANDBY for postgres, LEADER|FOLLOWER|READ_REPLICA for neo4j
"activeSize": "string",
"sizeUnit": "string", // Bytes for postgres, Commits for neo4j
"isInRecovery": null, // or boolean for postgres
"isReplayPaused": null, // or boolean for postgres
"receivedSize": null, // or string for postgres
"replaySize": null, // or string for non primary/leader instances
"lastReplayTimeStamp": null, // or timestamp string for postgres
"missingSize": null, // or string for non primary pg instances
"dataToTransfer": null, // or string for non primary pg instances
"dataToProcess": null, // or string for non primary/leader instances
"syncPercentage": double // real number 0-100
},
],
"status": "success"
}
|