NSFileProviderReplicatedExtension triggering wrong fileproviderd behaviour?

TL;DR: looking for FileProvider Extension debugging suggestions...

I am attempting to develop NSFileProviderReplicatedExtension. Against a real backing repository (~4TB), I've seen fileproviderd become heavily loaded, non-responsive (i.e. fileproviderctl dump has failed to complete within 60s on 8 tries) and (maybe?) re-enumerate the contents of the repository. The profiler says that it's spending most of its time doing sqlite work against the table for the domain from my extension.

I hypothesize that my extension has telling fileproviderd occasionally inconsistent things and it is now making sure that the world is the way that it should be. So: is there a way to get it to log when it has received invalid info? (I did read its (terse 😊) man page. I'm running out of ideas of what more to check with responses from the extension.

Did you try to install this profile onto your device, and then look into system.log in the Console app? The profile allows the file provider framework to generate more logs, which may contain something helpful.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

NSFileProviderReplicatedExtension triggering wrong fileproviderd behaviour?
 
 
Q