Renamed some variables for clarity
Merge branch 'master' of github.com:rockyhe/rockykevinleon
Renamed updateReplicas to updateSuccessors
Passed reference to primary instead of finding it again