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

What are "server_version_split" and "number_of_event_types" in "FormatDescriptionEvent" class?

Open
#626 0 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

code reference:

https://github.com/julien-duponchelle/python-mysql-replication/blob/ea61cca85fd1f526f393829ee5eb50dda42ff86e/pymysqlreplication/event.py#L397
https://github.com/julien-duponchelle/python-mysql-replication/blob/ea61cca85fd1f526f393829ee5eb50dda42ff86e/pymysqlreplication/event.py#L398

There are two attributes, "server_version_split" and "number_of_event_types", and i have not find those two fields in MySQL documents (I saw https://dev.mysql.com/doc/dev/mysql-server/8.0.40/page_protocol_replication_binlog_event.html).

So what are they? Maybe they are in some older MySQL version?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Read pymysqlreplication/event.py at lines 397-398, then compare the FormatDescriptionEvent parsing with the linked MySQL replication protocol documentation and relevant version history. Done means explaining what server_version_split and number_of_event_types represent, including whether they are version-specific, and documenting that clarification where appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, python
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.