Problem description:
Import data from system A, synchronize data to system B, delete data from system A, and delete data from system B.
Premise: A and B have completed A FULL_IMPORT and FULL_SYNC. Assume that all data in A is matched in B (filtering is not considered.
According to the previous ideas, after deleting A record in A and using FULL_IMPORT, record A will be deleted in CS_A through FULL_SYNC, because DATA_1 in CS_ B is still Connected to MV, therefore, this record will always exist, including music videos.
Solution:
1. First, you must delete this record in the MV, which may cause system B to delete the data.
The reason for the above phenomenon is that the default Configuration of the music video is determined, right-click the corresponding music video, "Configuration Object Deletion Rule ...", This is to change the rules for deleting music video objects. This setting is the first item by default, that is, when a music video object is disconnected from all MA, the corresponding music video is deleted, considering that all MA may become the source, reference count similar to C ++. The requirement here is that, once deleted in A, the record in other systems will be deleted. Therefore, we need to configure the record as the second item. After any checked object is deleted, delete this MV object.
2. It is not enough to complete the first step, because it only mentions deleting objects in the MV, but does not delete objects in CS_ B. Therefore, the objects in CS_ B are isolated, in FIM, It is a disconnected object. Such an object will continue to participate in the Rule discussion during the next synchronization. Therefore, we need to delete this non-hukou object. In the corresponding MA configuration, Configure "Configure Deprovisioning" to indicate the behavior after a CS object loses contact with the MV, select Stage a delete on the object for the next export run. This option indicates that the data will be deleted when the next export operation is executed after the contact is lost. The data in connected data source, that is, DB_A, will be deleted, but data in CS_A will not be deleted, because this operation will be processed during the next FULL_IMPORT operation.
3. Execute FULL_SYNC and EXPORT, and delete the data from MV and DB_ B in sequence. Check that DB_A is deleted. Execute B. the data in FULL_IMPORT and CS_ B is also deleted, and the entire lifecycle of this record is now completed.