> [!HashGrowBatchesElect]
> <table><tr><td rowspan="4" width="25%"><img src="assets/wl_ipc_hashgrowbatcheselect.png"></td><td><b>Wait Category</b></td><td>IPC</td></tr><tr><td><b>Mechanism</b></td><td><code>HashGrowBatchesElect</code></td></tr><tr><td><b>Operations</b></td><td><a href="Operations/Joins/HashJoin">HashJoin</a></td></tr><tr><td><b>Resources</b></td><td><a href="Resources/RAM">Memory</a>, <a href="Resources/CPU">CPU</a></td></tr><tr><td colspan="3">Contention on <b>Batch Expansion Election</b>. When the engine realizes the current number of join batches is insufficient, workers must wait to elect a single leader to double the number of batches and allocate the necessary file segments.</td></tr></table>