jlongster / absurd-sql

sqlite3 in ur indexeddb (hopefully a better backend soon)
MIT License
4.15k stars 101 forks source link

WITHOUT ROWID Optimization #51

Closed steida closed 9 months ago

steida commented 2 years ago

I didn't expect it would work, but leaving here in case some would try it. It happens randomly after a few dozens of items are added.

Uncaught (in promise) DOMException: Failed to execute 'advance' on 'IDBCursor': The transaction has finished.
    at f.read (blob:http://localhost:3000/59fedd9f-74f2-4db5-b08a-a4d22abebf7e:1:5038)
    at blob:http://localhost:3000/59fedd9f-74f2-4db5-b08a-a4d22abebf7e:1:7600
    at w (blob:http://localhost:3000/59fedd9f-74f2-4db5-b08a-a4d22abebf7e:1:6652)
    at blob:http://localhost:3000/59fedd9f-74f2-4db5-b08a-a4d22abebf7e:1:7560
    at g (blob:http://localhost:3000/59fedd9f-74f2-4db5-b08a-a4d22abebf7e:1:7671)
    at g (blob:http://localhost:3000/59fedd9f-74f2-4db5-b08a-a4d22abebf7e:1:9082)
oceanwap commented 9 months ago

It happened with me as well and I have no clue when and why does it happen.

steida commented 9 months ago

@oceanwap Check https://github.com/evoluhq/evolu