← Back to team overview

maria-developers team mailing list archive

Re: GSoC 2016 Student Introduction. [ MDEV-4989 ]


Hi Mike!

For debugging on OS X I suggest you use lldb instead of gdb, if you're
having troubles with gdb. At the same time you can get gdb to work but
sometimes it doesn't work as you expect it to, so lldb might be your best
alternative. Using mysql-test-run with lldb will also be somewhat tricky.
You can run the commands manually against an already written binlog file.

There are quite a few articles on gtid that you have probably already seen,
linked in jira. In case you missed them, you can read up on them, perhaps
they will answer more of your questions. The knowledge base one will
probably answer the star position vs gtid position problem you're having.


There currently isn't one assigned mentor to the task so asking on the
mailing list is good. This allows everybody to follow the discussion.


On Mon, 13 Mar 2017 at 00:58, Mike Reiss <mkreissjr@xxxxxxxxx> wrote:

> Hi,
> I am Mike Reiss a MS Computer Science student and I would love to work on
> enhancing the mysqlbinlog tool  during GSoC 2017 [MDEV-4989
> <https://jira.mariadb.org/browse/MDEV-4989>]. I have studied the
> mysqlbinlog.cc file and experimented with the various options available in
> the my_options array of the tool. The proposed idea is straight forward to
> implement: We add the --start-gtid and --stop-gtid options to the array of
> options then parse the GTID passed to these options to get the GTID
> sequence number for the binlog. One quick question. Is there any
> relationship between a GTID sequence number and the argument passed to the
> --start-position option? that way we need to set the start position to the
> GTID sequence number. I am still doing more research into the source files
> and I will love to discuss this more with the mentor. I am having
> difficulties debugging mysqlbinlog on OS X sierra because it does not
> support GDB any ideas please?
> Thanks.
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-developers
> Post to     : maria-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-developers
> More help   : https://help.launchpad.net/ListHelp