MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / wasMetadataChangeOkay

Method wasMetadataChangeOkay

src/QLPlan.actor.cpp:1753–1760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1751}
1752
1753bool 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
1762ACTOR Future<std::pair<int64_t, Reference<ScanReturnedContext>>> executeUntilCompletionAndReturnLastTransactionally(
1763 Reference<Plan> plan,

Callers 3

Calls 1

getMethod · 0.45

Tested by

no test coverage detected