Bug 1101499: Adjusting logic of gear state restoration
Merge pull request #5475 from jhadvig/restore_db

Merged by openshift-bot