| 169 | } |
| 170 | |
| 171 | void IndexBuilder::finishedProducing(NodeBatchInsertErrorHandler& errorHandler) { |
| 172 | localBuffers.flush(errorHandler); |
| 173 | sharedState->consume(errorHandler); |
| 174 | while (!sharedState->isDone()) { |
| 175 | std::this_thread::sleep_for(std::chrono::microseconds(500)); |
| 176 | sharedState->consume(errorHandler); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | void IndexBuilder::finalize(ExecutionContext* /*context*/, |
| 181 | NodeBatchInsertErrorHandler& errorHandler) { |
no test coverage detected