Commit f0fbb8e
authored
test: search-index concurrency for rebuild, queries, and lock order (#139)
* test: concurrency suite for search-index rebuild, pointer swap, and query
* test: exercise background rebuild and lock order in concurrency suite
* test: fix ruff and mypy on search-index concurrency tests
* fix: stoppable background worker and stronger concurrency test oracles
* fix: keep background worker ownership until stop is confirmed
* address per comment
* fix docstring
* Pin locked-index live-scan fallback in concurrency test1 parent bcde11d commit f0fbb8e
4 files changed
Lines changed: 533 additions & 66 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
15 | 31 | | |
16 | 32 | | |
17 | 33 | | |
| |||
67 | 83 | | |
68 | 84 | | |
69 | 85 | | |
70 | | - | |
| 86 | + | |
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 29 | | |
41 | 30 | | |
42 | 31 | | |
| |||
381 | 370 | | |
382 | 371 | | |
383 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
384 | 376 | | |
385 | 377 | | |
386 | 378 | | |
387 | 379 | | |
388 | 380 | | |
| 381 | + | |
389 | 382 | | |
390 | 383 | | |
391 | 384 | | |
| |||
0 commit comments