watchIndexes don't work

AFAIU the issue is in this "if"

which is wrong for several reasons. But it can also never work because it relies on getIndexes function which also doesn’t work, see getIndexes returns indexes of other buckets

Hey @aterem,

Would you be able to elaborate on why you think this if statement is incorrect? The purpose of this function is to fetch all of the indexes that were passed in, and identify when they have all been built. If any index that is being waited on disappears completely, it should error.

Cheers, Brett