
Solved!
Go to Solutionchecking the replication status of an object
Hi,
We have an application that stores content to a Centera cluster, content coming from another application. We send an ack to the other application for each "object", when the object is stored, that is when we have the clipid.
We would need to wait for the object to be replicated before sending back the ack (the other application needs to be 100% sure that the object is stored at both locations).
If I read correctly the API reference guide, I need to
- open a pool connection to the replica cluster (using appropriate IP addresses and PEA file)
- set FP_OPTION_MULTICLUSTER_EXISTS_STRATEGY to FP_NO_STRATEGY
- perform an FPClip_Exists()
My question is : is it necessary to check the existence of the blobs (FPTag_BlobExists()) associated to the clip or is the ClipExists() check enough ? In other words, are the blobs always replicated before the CDF ?
Each object contains between 2 to a few hundred blobs. Are these requests going to be expensive for the cluster ? (is it OK to check every 10 or 30 seconds or would it be better to wait a few minutes between checks ?)
Regards,
Didier
Responses (0)
Solutions (0)
