Commit 8990563
committed
fix: _set_keyspace_for_all_pools passes only the last pool's errors to callback
The pool_finished_setting_keyspace closure was calling callback(host_errors)
instead of callback(errors), so when the last pool to finish had no errors,
the callback received an empty list instead of the accumulated error dict
from all pools.
This caused _set_keyspace_completed to report success (not [] is True)
even when other pools had failures — keyspace changes silently succeeded
with partial failures dropped.
Introduced in d281b50 (2013-10-11).
Fixes #9141 parent 3e3e71a commit 8990563
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3438 | 3438 | | |
3439 | 3439 | | |
3440 | 3440 | | |
3441 | | - | |
| 3441 | + | |
3442 | 3442 | | |
3443 | 3443 | | |
3444 | 3444 | | |
| |||
0 commit comments