Skip to content

Commit

Permalink
phpDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
isublimity committed Jun 19, 2018
1 parent 7a13fc4 commit 72e33fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,19 +218,19 @@ private function getSelectSystemReplicas()
{
// If you query all the columns, then the table may work slightly slow, since there are several readings from ZK per line.
// If you do not query the last 4 columns (log_max_index, log_pointer, total_replicas, active_replicas), then the table works quickly. if ($this->softCheck)
{

return 'SELECT
database,table,engine,is_leader,is_readonly,
is_session_expired,future_parts,parts_to_check,zookeeper_path,replica_name,replica_path,columns_version,
queue_size,inserts_in_queue,merges_in_queue,queue_oldest_time,inserts_oldest_time,merges_oldest_time
FROM system.replicas
';
}
return 'SELECT * FROM system.replicas';
// return 'SELECT * FROM system.replicas';
}

/**
* @return $this
* @throws Exception\TransportException
*/
public function rescan()
{
Expand Down

0 comments on commit 72e33fa

Please sign in to comment.