Terminating execution of a query on UDB in iOS
I am working on a native iOS application in which middleware is Mobilink Server.
iOS gets large amount of data (around 1 million of records). So, we are fetching results from client UDB in a background thread(GCD) such that UI will not get struct.
We observed few intermittent crashes during sync but unable to find root cause. We could not get anything from Sync logs.
Will there be any problem if sync has started in the middle of execution of a query in background thread?
Is there any way to terminate any pending SELECT transactions before the start of the sync?
Please suggest me the approach to follow if there are any pending transactions before the start of sync process.