- issue161: local db should not be accessed when using sharding