buildDeferredIndexes in nodejs SDK don't work

Tried to understand why buildDeferredIndexes isn’t working.
Looking at the code at:


I don’t understand how it could ever work. “this._bucket” in

will never point to the bucket AFAIU…

Was this ever ran/tested by anyone?

Hey @aterem,

I have opened an issue to have this corrected and it should be included in tomorrows Node.js SDK release. It looks like a bind call that should have been included was lost. I suspect perhaps an error that snuck in during a git rebase.
You can find the issue here: https://issues.couchbase.com/browse/JSCBC-395

Cheers, Brett

1 Like