sql tx errors during bulk import #2

Open
opened 2020-11-15 13:15:07 -08:00 by dave · 2 comments
Owner
Progress: total: 430  completed: 430   errors: 8

files         status    uuid
------------  --------  -------------------------------------------------------------------------------------------------------
IMG_7320.JPG  error     (pymysql.err.InternalError) (3101, 'Plugin instructed the server to rollback the current transaction.')
                        (Background on this error at: http://sqlalche.me/e/2j85)

The import endpoint should retry transactions as this is somewhat expected on a bulk function.

A longer term TODO could be some import batch system where photos can be added to the batch async and you can edit/tag before they are seen in the library.

``` Progress: total: 430 completed: 430 errors: 8 files status uuid ------------ -------- ------------------------------------------------------------------------------------------------------- IMG_7320.JPG error (pymysql.err.InternalError) (3101, 'Plugin instructed the server to rollback the current transaction.') (Background on this error at: http://sqlalche.me/e/2j85) ``` The import endpoint should retry transactions as this is somewhat expected on a bulk function. A longer term TODO could be some import batch system where photos can be added to the batch async and you can edit/tag before they are seen in the library.
Author
Owner
Perhaps see https://dev.mysql.com/doc/refman/8.0/en/group-replication-options.html#sysvar_group_replication_consistency ?
Author
Owner
https://dev.mysql.com/doc/refman/8.0/en/group-replication-single-primary-mode.html
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dave/photolib#2
No description provided.