Closed ex3ndr closed 2 years ago
Oh I missed that change. We can do that - interested in putting together a PR?
I wish I could! But i will try to recruit someone from our team!
Oof it seems it only needed to regenerate opts for this and no native coding required will do then!
Too easy :) thanks for the PR. I’ll publish a new version to npm later today.
📦️ foundationdb@1.1.0
I forgot to bump maximum allowed version: https://github.com/josephg/node-foundationdb/pull/54
Cool. Merged and released as 1.1.1
Yet another place :( https://github.com/josephg/node-foundationdb/pull/55
Can you check that your PR actually fixes the issue before I merge it this time?
Done!
1) Updated build script to use new fdb binaries (6.3.12) + fixed creation of data directory during build 2) Updated API version for tests to 630
Everything seems to work now.
... Sorry I've been dragging my heels on this. The installer for 6.3.12 is broken, which in turn means the CI can't run. Apparently its been fixed with 6.3.13
Hi @josephg, when we try to set the API Version to 630, we got this error during run time.
FDBError: API version not valid node_modules/foundationdb/dist/lib/apiVersion.js:37:30
Error happen at native_1.default.setAPIVersion(version);
This error happens with the latest fdb 6.3.15.
Thanks
Hi! I ran into issues deploying because the scripts are trying to build the library for windows, but windows support in foundationdb is being slowly deprecated - and the windows build is missing / broken.
I've just re-deployed foundationdb@1.1.2, which should have working support for protocol version 630. Give that a crack @hengsok.
Thanks @ex3ndr - sorry for dragging my feet!
@josephg thanks so much for the awesome work for this js lib. You really put in a lot of effort in it as I have looked through majority of your code including the fdp-tuple. Just curious, where do you work at? Do you fork this library from the original author and continue to polish/improve it just for hobby? You seem to have a very good understanding of both Javascript and fdb. 👍🏻
Anyway, the description regarding "start ≥ key > end" under "Range reads" seems weird. Shouldn't it be "start<= key < end"?
Aw thanks! I'm at the moment working on braid as part of the invisible college. Yeah I maintain this mostly as a hobby - though it honestly doesn't need much maintenance at this point. This code started as a fork, but I don't know if any of the original code remains. The native module was rewritten to support napi, and the javascript code was rewritten into typescript with promises rather than JS with callbacks.
As for the range reads thing - yeah, well spotted. Looks like a typo.
Nice good job! Great you are working on something interesting there. I think you did an excellent job at writing the documentation. It is pretty detailed although when I need additional features, I just dig through your lib directly. :) Such as setting RetryLimit, CausalReadRisky etc. :D It is good you had those options in there. There are many hidden gems in the code.
Yeah thanks. Those options are exposed by libfdb_c, which is the raw bindings library maintained by the foundationdb team. They're all exposed & documented through typescript type definitions at least.
Do you have any plans to upgrade API to 630 with transaction tagging support (https://github.com/apple/foundationdb/pull/2942) ?