Using Oracle to Solve ZooKeeper on Two-Replica Problems