My app is backing up / restoring data in the app using CloudKit.
I've been using the same code since early 2020, and I've had the problem since a few months ago (around September 2021).
The problem is as below.
eg) If 30 pieces of data are uploaded using OperationQueue, the upload is completed within a few seconds.
No error occurred in operation.perRecordCompletionBlock.
Check the number of requested data using the CloudKit console log.
However, if i use CKQuery to check the data, 1 or 2 pieces of data are missing for several minutes (approximately 10 minutes).
This is the same whether you send a Query from the CloudKit console or use CKQuery using swift code.
And after a few minutes, all the data is uploaded.
Now, some users are writing this problem in reviews, but I have no way to solve it.