Requirement for show processlist.

12 views
Skip to first unread message

nwarr...@gmail.com

unread,
Aug 4, 2017, 4:24:11 PM8/4/17
to PRM-discuss
I see that PRM seems to be calling "show processlist" during unset_master and other cases. 



      mysql_run -Q -sw -O $MYSQL $MYSQL_OPTIONS_REPL \
      -e 'SHOW PROCESSLIST\G' > $tmpfile
      
      if grep -i 'Waiting for master to send event' $tmpfile >/dev/null; then
         ocf_log info "MySQL slave has finished reading master binary log"
         break
      fi


Is there a reason it is being called uisng show processlist. Show slave status has the same set of statuses right ? 


thanks 
Reply all
Reply to author
Forward
0 new messages