Skip to content

Commit

Permalink
- processlist also filters by 'Binlog Dump GTID' when searching for
Browse files Browse the repository at this point in the history
slaves

- similarly, for excluding log-running-queries.
  • Loading branch information
shlomi-noach committed Nov 16, 2015
1 parent 389f9ef commit a67883d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
set -e

RELEASE_VERSION="1.4.527"
RELEASE_VERSION="1.4.529"
TOPDIR=/tmp/orchestrator-release
export RELEASE_VERSION TOPDIR

Expand Down
5 changes: 4 additions & 1 deletion go/inst/instance_dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ func ReadTopologyInstance(instanceKey *InstanceKey) (*Instance, error) {
from
information_schema.processlist
where
command='Binlog Dump'`,
command='Binlog Dump'
or command='Binlog Dump GTID'
`,
func(m sqlutils.RowMap) error {
cname, resolveErr := ResolveHostname(m.GetString("slave_hostname"))
if resolveErr != nil {
Expand Down Expand Up @@ -442,6 +444,7 @@ func ReadTopologyInstance(instanceKey *InstanceKey) (*Instance, error) {
and id != connection_id()
and user != 'system user'
and command != 'Binlog dump'
and command != 'Binlog Dump GTID'
and user != 'event_scheduler'
order by
time desc
Expand Down

0 comments on commit a67883d

Please sign in to comment.