Closed doowb closed 9 years ago
I'm also having a similar problem to this!
I have a node function that is calling 'getKeyStream' on the db. When running tests on this function, the first test will run fine (this must get a handle to leveldb directly) but then the subsequent tests will timeout as the key stream does not emit data or end. Running the same tests using 'level' rather than 'level-party' works every time.
I call db.close() after work has been done but the callback never returns.
Running node v0.10.36 and level-party 1.0.1.
Could you try this in 2.0.0 and see if this is still an issue?
Looks like it's working now, thanks.
I have a simple command line script that just opens a connection and gets a value. Every other time I run the script nothing happens and the script ends. There aren't any errors or anything.
If I have another process accessing the database at the same time, the command line script just hangs.
I'm using
level-party
withlevelup-defaults
andlevel-sublevel
, so I'm not sure if that combination is causing the problem. My script works fine when I uselevel
directly (I just can't access it from multiple processes)I'm on node v0.12.0.