Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database is Locked panic #89

Open
Emyrk opened this issue Nov 26, 2019 · 2 comments
Open

Database is Locked panic #89

Emyrk opened this issue Nov 26, 2019 · 2 comments

Comments

@Emyrk
Copy link
Member

Emyrk commented Nov 26, 2019

The easiest way to reproduce this issue is to start syncing a node from scratch while hammering the api with slower queries (pegnetd get txs ADDRESS --asset PEG or something).

The easiest fix might to just add a retry to the sync loop.

@Emyrk Emyrk changed the title Switch SQLLite Libary Database is Locked panic Dec 5, 2019
@WhoSoup
Copy link
Contributor

WhoSoup commented Dec 8, 2019

I just wrote a custom script to hammer the node with requests nonstop (concurrently, faster than it can handle them) and was unable to reproduce this behavior.

@Emyrk
Copy link
Member Author

Emyrk commented Dec 10, 2019

For some reason, @WhoSoup and I are getting vastly different performance results. I will have to resync from scratch to make sure it's not just my db.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants