Closed sajal closed 5 months ago
i'm investigating this bug and i'm reconsidering whether using leveldb is a good idea, since it does not behave nicely when accessed concurrently from multiple processes
i'm investigating this bug and i'm reconsidering whether using leveldb is a good idea, since it does not behave nicely when accessed concurrently from multiple processes
the LOCK exception should be fixed in 665676e72784e5616f612b92043c6a856e8ec53b and the behavior you observed with _db
getting wiped after init should be fixed in f84bad9cd437132dec9a1f2c3dc7f007bfb5fb43
What I did
self._db
does not get overridden once its initialized.How I did it
By only doing db initialization if
_db
attribute was not defined earlierHow to verify it
Ensure you have
plyvel
installedThe second run should take significantly less time. For me ~78s vs ~2s
Description for the changelog
Cute Animal Picture