Repository navigation
Commit 83c1985
committed
fix: claim only delivery types supported by each worker
Add route-aware claims and a matching index for PostgreSQL and MySQL. Rotate
the first route between batches, reject unsafe custom stores, and prevent a
single deliverer from processing an entry of another type.
Cover heterogeneous workers, concurrent claims, migrations, and a million-row
Docker benchmark. Document the custom-store and rolling-upgrade requirements.
Closes #1161 parent 0268578 commit 83c1985
29 files changed
Lines changed: 632 additions & 16 deletions
File tree
- benchmarks/route-aware-claim
- okapi-core/src
- main/kotlin/com/softwaremill/okapi/core
- test/kotlin/com/softwaremill/okapi/core
- okapi-integration-tests/src/test/kotlin/com/softwaremill/okapi/test
- concurrency
- store
- okapi-mysql/src/main
- kotlin/com/softwaremill/okapi/mysql
- resources/com/softwaremill/okapi/db/mysql
- okapi-postgres/src/main
- kotlin/com/softwaremill/okapi/postgres
- resources/com/softwaremill/okapi/db/postgres
- okapi-spring-boot/src
- main/kotlin/com/softwaremill/okapi/springboot
- test/kotlin/com/softwaremill/okapi/springboot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments