Managing replica set impact on application program code