talis/tripod-php

Only ensureIndexes for indexes relevant to the target repSet

Closed this issue · 0 comments

Issue #90 made sure ensureIndexes was called for all custom indexes on table_rows before proceeding.

However, table specs can be distributed between different replica sets, so to avoid excessive and redundant indexing only indexes for specs relevant to the same set as the table rows being generated should be ensured.