CoreData: SQLite stores with journal_mode=WAL cannot be opened by spotlight importers

Originator:frank.illenberger
Number:rdar://16194391 Date Originated:28-Feb-2014 11:54 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Mac OS 10.9.1
Classification:Other Reproducible:Always
 
Summary:
Starting with Mac OS 10.9, CoreData creates sqlite stores using the new WAL journal mode. This journal mode requires that database files always reside on writable media (See: http://www.sqlite.org/wal.html#readonly).
The spotlight architecture however, puts its importers into a sandbox which prohibits write access to the files it imports. Therefore it is not possible to implement a reliable spotlight importer for CoreData sqlite stores created under 10.9.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!