[MDEV-31894] Optimize Check for Parallel Replication Worker Thread Idleness Created: 2023-08-10 Updated: 2023-12-11 Resolved: 2023-12-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Fix Version/s: | 10.4.33 |
| Type: | Task | Priority: | Major |
| Reporter: | Brandon Nesterenko | Assignee: | Brandon Nesterenko |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Checking if the replication parallel workers are idle (rpl_parallel::workers_idle()) currently iterates through each parallel entry data structure, and locking each to view its last committed sub_id. This can be improved by using the pattern adopted in This is a potential candidate for back-porting as well. |
| Comments |
| Comment by Brandon Nesterenko [ 2023-12-11 ] |
|
Fixed as a part of |