You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using K6 with xk6-sql plugin to load test our local TiDB cluster. On top of regular load tests we run basic chaos engineering like cluster failover and node restart during the test. We noticed that TiDB cluster disruptions cause K6 process to hang for a long time.
k6 version
v0.53.0
OS
Linux x86-64
Docker version and image (if applicable)
No response
Steps to reproduce the problem
When running simple select test and manually restarting one of the cluster nodes:
Please note running (19m19.8s), traffic correctly drops to 0 after 4mins 50sec, but process keeps sitting idle for over 15 more minutes
I built K6 locally from the trunk with debug symbols and profiled the app when it hangs with perf and bcc-tools:
Offcpu (idle descheduled threads)
Offwake (re-scheduled threads and threads that woke them up combined in one stack)
and perf:
Brief summary
We are using K6 with xk6-sql plugin to load test our local TiDB cluster. On top of regular load tests we run basic chaos engineering like cluster failover and node restart during the test. We noticed that TiDB cluster disruptions cause K6 process to hang for a long time.
k6 version
v0.53.0
OS
Linux x86-64
Docker version and image (if applicable)
No response
Steps to reproduce the problem
When running simple select test and manually restarting one of the cluster nodes:
this test is expected to finish in 4mins 50sec, but it actually takes:
Please note
running (19m19.8s)
, traffic correctly drops to 0 after 4mins 50sec, but process keeps sitting idle for over 15 more minutesI built K6 locally from the trunk with debug symbols and profiled the app when it hangs with perf and bcc-tools:
Offcpu (idle descheduled threads)
Offwake (re-scheduled threads and threads that woke them up combined in one stack)
and perf:
Test script is very simple it just randomly selects data range from a set of configured tables:
Expected behaviour
K6 process supposed to exit after configured graceful stop
Actual behaviour
K6 process keeps sitting idle for a prolonged amount of time
The text was updated successfully, but these errors were encountered: