final String tableId = checkTableId(tableName, TableOperation.FLUSH);
verify(c, check(c, tableId, TablePermission.WRITE) || check(c, tableId, TablePermission.ALTER_TABLE));
for (TServerInstance instance : tserverSet.getCurrentServers()) {
try {
final TServerConnection server = tserverSet.getConnection(instance);
if (server != null)
server.flush(masterLock, tableId);
} catch (TException ex) {
log.error(ex.toString());
}
}
}