Commit c8fd8f8
committed
Cover an index with no read pointer, and stop sending operators to repair one
A missing read alias is a state advance_read_pointer handles on purpose: an
index serving no reads is not already current, so a completed pass publishes
it. test_update_read_pointer was what covered that, and it went with the task,
so give SearchMigrationFixture a way to drop the alias and pin the behaviour
where the rest of the pointer logic is tested.
The startup message for a read pointer behind the write pointer sent operators
to repair the index by hand. That was right when nothing advanced the pointer
on its own; now the first reindex to complete a full pass publishes it, so say
that instead.1 parent 7e1da17 commit c8fd8f8
2 files changed
Lines changed: 35 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
366 | 382 | | |
367 | 383 | | |
368 | 384 | | |
| |||
404 | 420 | | |
405 | 421 | | |
406 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
407 | 439 | | |
408 | 440 | | |
409 | 441 | | |
| |||
0 commit comments