a2c3c23258
Pushing an abandoned change directly results in the wrong status shown in gerrit i.e., it shows abandoned when the change has been merged already. Original code checks for the 'status' of change and allows update of secondary index only for the changes with status 'OPEN' and hence, prevents secondary index update for abandoned change. Removing the check fixes the problem. Change-Id: I90a4b569b3da3706c73257366ebeb4f6ddd9839b