private void cleanupStaleDbConfig(){
  coordinatorClient.deletePath(String.format("%s/%s",ZkPath.CONFIG,Constants.DB_CONFIG));
  coordinatorClient.deletePath(String.format("%s/%s",ZkPath.CONFIG,Constants.GEODB_CONFIG));
  log.info("Removed dbconfig and geodbconfig in zk global area successfully");
}

private void cleanupStaleDbConfig ( ) { coordinatorClient . deletePath ( String . format ( "%s/%s" , ZkPath . CONFIG , Constants . DB_CONFIG ) ) ; coordinatorClient . deletePath ( String . format ( "%s/%s" , ZkPath . CONFIG , Constants . GEODB_CONFIG ) ) ; log . info ( "Removed dbconfig and geodbconfig in zk global area successfully" ) ; }
we store dbconfig / geodbconfig in under / config znode in pre - yoda versions . since yoda , we move it to site specific area / site / < site uuid > / config . so after yoda upgrade is done , remove those stale config entries in zk
