00:00:15  * jerrysvjoined
00:59:06  * rgrinbergjoined
01:24:16  * bretquit (Quit: Updating details, brb)
01:24:57  * bretjoined
03:14:52  * Xinayderquit (Ping timeout: 244 seconds)
03:22:03  * Xinayderjoined
03:40:50  * rgrinbergquit (Ping timeout: 260 seconds)
04:22:14  * jerrysvquit (Remote host closed the connection)
14:54:33  * rgrinbergjoined
16:54:19  * jerrysvjoined
18:33:21  * jerrysvquit (Remote host closed the connection)
18:43:03  * rook2paw1changed nick to rook2pawn
18:45:07  * ralphthe1injajoined
18:50:08  * ralphtheninjaquit (*.net *.split)
19:30:40  * daleharveyjoined
19:31:45  <daleharvey>Hey, so what is expected behaviour when you call .get etc after a .close / .destroy ?
19:32:19  <daleharvey>right now our code seems to be hanging, not sure if its leveldowns fault or possibly sublevel
19:40:33  <substack>> var db = require('level')('/tmp/xyz'); db.close(function () { db.get('whatever', function (err) { console.log(err) }) })
19:40:41  <substack>[ReadError: Database is not open]
19:40:58  <substack>and that seems like what I would expect to happen
19:41:10  <substack>win 37
19:46:55  <daleharvey>yeh same, cheers
19:47:03  <daleharvey>> var leveldown = require('leveldown'); var db = leveldown('/tmp/abc'); db.close(function () { db.get('whatever', function (err) { console.log(err) }) })
19:47:22  <daleharvey>am I doing something wrong there? that gives me > Segmentation fault: 11
19:49:07  <substack>I think that error is caused by leveldown not being open yet
19:49:23  <substack>if you put the rest of that inside leveldown.open(function () {}) it might work
19:49:52  <substack>level{up,} batches operations until the handle is open, so you don't get those errors
19:51:32  <substack>still crashes for me using .open(), weird
19:59:50  <daleharvey>hrm, we arent getting a crash either way in our use case, so probably the wrong rabbit hole for me at least
20:01:55  <daleharvey>our problem is users doing something like db.query(); db.destroy(); basically at any point of our code cant depend on having an open db, right now level calls are getting hangs, need to figure out where is hiding it
20:14:27  * ralphthe1injachanged nick to ralphtheninja
22:28:05  * jerrysvjoined
22:37:01  * jerrysvquit (Remote host closed the connection)