conform to the API changes introduced with replica support
Merge branch 'replicas'
updated libshardcache