Skip to content

mysqlcdc: replace deprecated 'SHOW MASTER STATUS' for 8.4+#4094

Merged
josephwoodward merged 1 commit intomainfrom
jw/fixshowmasterstatus
Mar 12, 2026
Merged

mysqlcdc: replace deprecated 'SHOW MASTER STATUS' for 8.4+#4094
josephwoodward merged 1 commit intomainfrom
jw/fixshowmasterstatus

Conversation

@josephwoodward
Copy link
Contributor

@josephwoodward josephwoodward commented Mar 11, 2026

Closes #4089

SHOW MASTER STATUS has been deprecated in favour of SHOW BINARY LOG STATUS in MySQL 8.4+

Source: https://dev.mysql.com/doc/refman/8.4/en/show-master-status.html

Before:

Screenshot 2026-03-11 at 20 43 23

After:

image

@claude
Copy link

claude bot commented Mar 11, 2026

Commits
LGTM

Review
Small, focused change to getCurrentBinlogPosition adding forward-compatibility with MySQL 8.4+ by trying SHOW BINARY LOG STATUS first and falling back to the deprecated SHOW MASTER STATUS. Error handling and context propagation are correct.

LGTM

@josephwoodward josephwoodward merged commit 7bd7b44 into main Mar 12, 2026
7 checks passed
@josephwoodward josephwoodward deleted the jw/fixshowmasterstatus branch March 12, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redpanda MySQL CDC recreating the snapshot not working with MySQL Server 8.4 and above

2 participants