# I don't understand how does --recursion-method=none and --check-slave-lag work together in pt-osc

**URL:** https://forums.percona.com/t/i-dont-understand-how-does-recursion-method-none-and-check-slave-lag-work-together-in-pt-osc/34952
**Category:** Percona Toolkit
**Created:** [November 11, 2024, 8:09pm UTC](https://forums.percona.com/t/i-dont-understand-how-does-recursion-method-none-and-check-slave-lag-work-together-in-pt-osc/34952 "2024-11-11T20:09:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cookie](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cookie](https://forums.percona.com/u/cookie)
#### Post date: [November 11, 2024, 8:09pm UTC](https://forums.percona.com/t/i-dont-understand-how-does-recursion-method-none-and-check-slave-lag-work-together-in-pt-osc/34952/1 "2024-11-11T20:09:41Z")

</div>

Hi there!  
I have following situation, I have a master, a slave, and two maxscale servers.  
When I try to perform the following:

```auto
perl /bin/pt-online-schema-change \
--check-slave-lag=h=slave.host,P=3306 \
--recursion-method=none \
--slave-user=user_for_percona \
--slave-password=PWD \
--check-interval=1 --max-lag=2s --progress=time,2 \
--recurse 0 \
--critical-load='Threads_running=200' \
--max-load='Threads_running=50' \
D=databasetoalter,t=t1 \
--user user_for_percona --p PWD \
--alter="MODIFY COLUMN t1 MEDIUMTEXT" \
--execute

```

I got the following err:  
Replica maxscale\_address\_here\_from\_processlist is stopped. Waiting

I don’t understand, why it ignores `--recursion-method=none` clause.

Any help is appreciated.

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [November 11, 2024, 10:06pm UTC](https://forums.percona.com/t/i-dont-understand-how-does-recursion-method-none-and-check-slave-lag-work-together-in-pt-osc/34952/2 "2024-11-11T22:06:05Z")

</div>

Hi @cookie,  
There might be a bug when using --check-slave-lag and --recursion-method together. Please test out --recursion-method=DSN and add only the one host to this table. If that works as you intend, then we’d appreciate it if you can open a JIRA at [https://jira.percona.com/](https://jira.percona.com/) and give the above use-case as a bug.
