Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Binlog position #44

Open
theTibi opened this issue Jun 25, 2018 · 0 comments
Open

Wrong Binlog position #44

theTibi opened this issue Jun 25, 2018 · 0 comments

Comments

@theTibi
Copy link

theTibi commented Jun 25, 2018

Hi,

It looks like there is a bug in the binlog filename and position parser:

[06/25/2018 13:12:12] ERROR: An uncaught exception error has occurred!
Traceback (most recent call last):
  File "/usr/local/bin/pyxbackup", line 3421, in <module>
    run_binlog_stream()
  File "/usr/local/bin/pyxbackup", line 2458, in run_binlog_stream
    start_from_name = _stream_binlog_from()
  File "/usr/local/bin/pyxbackup", line 1522, in _stream_binlog_from
    if start_from < int(meta_start_binlog[-6:]):
ValueError: invalid literal for int() with base 10: "on'274"

Positions from Xtabackup log:

MySQL binlog position: filename 'Node1.bin.000227', position '274', GTID of the last change '1853fbe8-22f1-11e8-a4d8-1402ec4178fe:1-2,

Log bin from backup.meta:

`log_bin = Node1.bin.000227', position '274`
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

No branches or pull requests

1 participant