* Rebuild, on a worker thread, the secondary indexes an interrupted bulk * load dropped and `openSync({ deferIndexRecovery: true })` left (#1887). * Resolves at once when nothing is left, which is every open but the first * after such an interruption; rejects when the rebuild fails, and the
()
| 600 | * call tries again. Reads stay correct meanwhile, only slower. |
| 601 | */ |
| 602 | recoverIndexes(): Promise<void> { |
| 603 | return this.db.recoverIndexesOffThread(); |
| 604 | } |
| 605 | |
| 606 | /** Whether {@link recoverIndexes} still has indexes to rebuild. */ |
| 607 | hasPendingIndexRecovery(): boolean { |
no test coverage detected