mirror of https://github.com/qortal/qortal
Browse Source
There's still an existing issue where log entries like this appear: Unable to trim old online accounts signatures in repository which is actually caused by: integrity constraint violation: unique constraint or index violation; SYS_PK_10092 table: BLOCKS which seems to be a bug in the version of HSQLDB we use. (Tested using synced-from-scratch DB). It's not clear what the actual problem is at this point. It might be possible to switch to v2.5.1 if our recent HSQLDB-related commits have fixed/worked-around the OOM issues. Move the inner method from BlockChain to Controller. Remove blockchain lock as it's not needed because it's not an HSQLDB "serialization failure" but constraint violation. Trimming old online accounts signatures limited to batches of 1440 rows to reduce CPU and memory load.split-DB
catbref
4 years ago
3 changed files with 22 additions and 32 deletions
Loading…
Reference in new issue