Commit 0d3edce
committed
rabbit_khepri: Rename misleading
[Why]
This wrapper was calling `khepri_adv:delete_many()`, not
`khepri_adv:delete()` as the name was suggesting. They are not the same
function and have not the same behaviour.
This led to a performance issue with the branch that replaces the
"delete queue" transaction by a simple delete (#14902) that was related
to this confusion.
[How]
The wrapper is renamed to reflect the Khepri API being called.
While here, add a `rabbit_khepri:adv_delete()` wrapper that calls the
similarily named Khepri API.adv_delete() to adv_delete_many()
1 parent 7f84e2e commit 0d3edce
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
1251 | 1252 | | |
1252 | 1253 | | |
1253 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1254 | 1262 | | |
1255 | 1263 | | |
1256 | 1264 | | |
| |||
0 commit comments