server/lib
Vincent Petry a542c57a7b Catch duplicate insertion errors while scanning files
When two scanning processed run at the same time, for example when
scan.php and list.php were called at the same time on an external
storage mountpoint, duplicate insertion errors can occurs.

These errors are now logged and ignored.

Since both scans are running in parallel transactions, they don't see
each other's changes directly in the DB which can cause duplicate
insertion errors for mime types as well, but those mime types can't be
selected yet. The solution to this is to force-reload the mimetypes list
after the transaction is finished.

Fixes #5199
2013-10-23 13:00:46 +02:00
..
l10n [tx-robot] updated from transifex 2013-10-19 08:27:13 -04:00
private Catch duplicate insertion errors while scanning files 2013-10-23 13:00:46 +02:00
public Fix namespace for OCP\Appframework\Http 2013-10-23 05:57:34 +02:00
autoloader.php Merge pull request #5071 from owncloud/fix-autoloader-master 2013-10-02 03:10:10 -07:00
base.php introduce link_to_docs() and migrate links 2013-10-21 21:29:45 +02:00