Commit 8656868
Xin Dong
No need to set the error_state inside doIndexUpdateActor since:
1. It's useless as in it does not update the IndexObj stored on disk, which means it does not effectively mark the index as in error state
2. If these error got thrown during index building, the MetadataManager will correctly update the on disk IndexObj to reflect the error state. If this error got thrown during updating existing index due to inserting new documents or updating documents, no need to change the state of the index and we can simply reject the insert/update1 parent 79f94c8 commit 8656868
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | 356 | | |
358 | 357 | | |
359 | 358 | | |
| |||
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
523 | | - | |
524 | 522 | | |
525 | 523 | | |
526 | 524 | | |
| |||
0 commit comments