julien-duponchelle / julien-duponchelle/python-mysql-replication

fetchone / __iter__ timeout

Open
#321 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.4k
Forks
690
PR merge metrics
No merged PRs in 30d

Description

could be possible implement a timeout with techone/ __iter__ function? sometimes it's usefull, i have a big binlog (1G+) and since i'm ignoring some tables/events, it hit a lot the continue keyword, and i have more than 10seconds "stalled", maybe a "heartbeat like" but at client side could help, something like raising a "pythonclientheartbeat"

Contributor guide

Open the contributing guide

Research direction

Start by reading the fetchone and __iter__ entry points, focusing on how ignored tables or events lead to repeated continue behavior while processing a large binlog. The issue does not name a file, test, timeout semantics, or acceptance criteria; clarify the client-side heartbeat or timeout behavior before implementation, then add coverage showing the intended stalled-processing outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, python
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.