replica maintenance