As per the notes, any change in TOPOLOGY will trigger the election. And following are the factors that result into topology change
1)adding members to set
2)failing members (could you please elaborate on this?)
3)changing in replica set configuration
So my question is if we shutdown the secondary node(db.shutdownServer()) or kill the process of secondary node for rolling upgrade, would it trigger an election?