| 1751 | } |
| 1752 | |
| 1753 | bool BuildIndexPlan::wasMetadataChangeOkay(Reference<UnboundCollectionContext> newCx) { |
| 1754 | for (const Reference<IndexInfo>& i : newCx->knownIndexes) { |
| 1755 | if (i->indexName == index->indexName && i->status == IndexInfo::IndexStatus::BUILDING && |
| 1756 | i->buildId.get() == index->buildId.get()) |
| 1757 | return scan->wasMetadataChangeOkay(newCx); |
| 1758 | } |
| 1759 | return false; |
| 1760 | } |
| 1761 | |
| 1762 | ACTOR Future<std::pair<int64_t, Reference<ScanReturnedContext>>> executeUntilCompletionAndReturnLastTransactionally( |
| 1763 | Reference<Plan> plan, |
no test coverage detected