Xstore replication commands
Hi,
We are having an issue related to replication from store primary to xcenter.
The information to be replicated is saved in the ctl_replication_queue table from the repliaction database.
The important content Is on the REPLICATION_DATA field.
On it, we noticed that is stored a serialized version of what should be synchronized, e.g:
{
"Timeout": 30000,
"persistables": [[{
"v": "1",
"type": "RetailTransaction",
"cmd": "INSERT",
"recordtype": "dao"
},
{
"CreateDate": 1600926740057,
...
[{
"v": "1",
"type": "Party",
"cmd": "INSERT_ONLY",
"recordtype": "dao",
"originDS": "StorePrimary"
},
We noticed that for each entity xstore send a cmd indicating the action to be taken. Some of them are what we mentioned (INSERT,INSERT_ONLY), we have also seen "INSERT_OR_UPDATE|INSERT".