Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-1509

Only set binlog_format when necessary

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.9
    • Component/s: None
    • Labels:

      Description

      From 3rd party contribution: https://github.com/percona/percona-toolkit/pull/297

      The documentation states that --sync-to-master or --replicate need
      the binlog_format to be STATEMENT, but the code set the binlog format
      regardless of the operation mode.

      With this patch, the binlog_format is only set if --sync-to-master
      or --replicate options have actually been supplied on the command line,
      enabling a node-to-node sync without these options without the SUPER
      privilege.

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  carlos.salguero Carlos Salguero
                  Reporter:
                  carlos.salguero Carlos Salguero
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours
                    2h