You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
I am using node runtime 12.20.0 & 12.18.3 on a Windows 10 & Mac 10.14.6 machine with following code, which is resulting in lot of Assertion Failed Messages:
var level = require('level-party')
var db = level(__dirname + '/data', { keyEncoding: 'binary', valueEncoding: 'json' })
const start = Buffer.allocUnsafe(8);
start.writeBigInt64BE(1n, 0);
const end = Buffer.allocUnsafe(8);
end.writeBigInt64BE(2n, 0);
let x = new Promise((a, r) => {
db.createReadStream({ gte: start, lte: start })
.on('data', function (data) {
console.log(data.key, '=', data.value)
})
.on('error', function (err) {
console.log('Oh my!', err)
r();
})
.on('close', function () {
console.log('Stream closed')
a();
})
.on('end', function () {
console.log('Stream ended')
a();
})
});
x.then((e) =>
console.log("Done")
)
Message 1: Assertion Failed at binding.cc @ 545
Message 2:Assertion Failed at version_set.cc @ 798