Commit 0370279
committed
sql: fix pausable portal cleanup stack behavior
We have several cleanup "stacks" for pausable portals model, but in
reality previously we executed the functions in the "forward" direction,
matching the behavior of a "queue", so this commit fixes that iterating
over functions in reverse order. Only `dispatchToExecutionEngine` stage
has multiple cleanup functions. Ensuring the correct order was necessary
for the following commit which is what prompted this one.
Additionally, we fix comments to reflect the reverse order of execution
different cleanup stacks.
Release note: None1 parent 2452d33 commit 0370279
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | | - | |
239 | | - | |
240 | 239 | | |
| 240 | + | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
0 commit comments