teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.09k stars 142 forks source link

Problem with SQlite / AWS EFS #339

Open neopheus opened 2 years ago

neopheus commented 2 years ago

Hi,

I have a problem with AWS AFS

Error


SQLSTATE[HY000]: General error: 10 disk I/O error {"exception":"[object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 10 disk I/O error at /home/vendor/teamtnt/tntsearch/src/Indexer/TNTIndexer.php:185)

SQLSTATE[HY000]: General error: 5 database is locked {"exception":"[object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 5 database is locked at /home/vendor/teamtnt/tntsearch/src/Indexer/TNTIndexer.php:420)

Have you a solution ?

Thx

ultrono commented 1 year ago

I've only seen that locally when I had multiple processes are accessing the index at the same time.

EDIT: https://github.com/teamtnt/laravel-scout-tntsearch-driver/issues/61#issuecomment-396411613 may be helpful.