Rename variable recovery_state to recovery to simplify debugging.

Avoid a name clash between variable name and struct name.