Thanks for the report. Can you explain how I can reproduce your error?
I have installed and am somewhat familiar with Node, so maybe just
your FleetDB boot script and Node client test script?
Thanks,
Mark
Right, I just meant this. What version of FleetDB are you using by the way?
>
> And the test script:
>
> var sys = require('sys'),
> fleetdb = require('./inc-js/fleetdb');
>
> var db = new fleetdb.Database();
> db.open('http://127.0.0.1:3400');
>
> for(var i=0; i<10000; i++)
> {
> db.query(['ping'], function(status, data) {
> sys.puts('Data:' + JSON.stringify(data));
> });
> };
>
> db.close();
>
> *sorry about that first post formatting so poorly.
>
> Judson
I will investigate this tonight.
Thanks,
- Mark
The error message might be due to exiting from Node before all
enqueued requests have been fully processes, which might cause the
client to exit mid-request. This variation on your script shows that
not all responses are received before the script exits:
https://gist.github.com/805775
The script below seems to work fine for me, except for a Node error at
the very end that I don't understand:
https://gist.github.com/805776
Let me know if this gets you any close to the root cause.
- Mark
On Mon, Jan 31, 2011 at 3:25 PM, Judson Stephenson