Find the error in a HashMap iteration loop using keySet().
Represent each iteration and its events relationally. Treat an iteration as erroneous when a structural map mutation occurs while the keys are being traversed.
Output
- Return one row per erroneous iteration with
map_name, run_id, mutation_count, and error
- Include only iterations with at least one
PUT, REMOVE, or CLEAR event
- Order by
map_name, then run_id
Output details
- Order by
map_name ascending, then run_id ascending.
- Set
error to the literal value Concurrent modification risk.