Commit a8d9df5
committed
rowexec: manually flush progress when backfiling vector indexes
Previously, the vector index codepath in backfill took no special action
to update progress tracking. Since progress tracking uses BulkAdder
flushes to determine when to flush progress and vector indexes don't
currently use BulkAdders during backfill, this meant that vector index
build status never got updated.
This patch adds a manual flush of status whenever an IndexBatch
containing a vector index completes. Vector index inserts are pretty
slow and IndexBatches are pretty large, so this is unlikely to lead to too
many flushes.
Fixes: #146691
Release note (bug fix): Vector index backfill will now properly track job
progress in SHOW JOBS output.1 parent 83c038f commit a8d9df5
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
374 | 376 | | |
375 | 377 | | |
376 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
377 | 385 | | |
378 | 386 | | |
379 | 387 | | |
| |||
404 | 412 | | |
405 | 413 | | |
406 | 414 | | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
0 commit comments