Where is pt-table-checksum finding this hostname? Announcing the arrival of Valued Associate...

How to play a character with a disability or mental disorder without being offensive?

Amount of permutations on an NxNxN Rubik's Cube

What order were files/directories outputted in dir?

Do I really need to have a message in a novel to appeal to readers?

File name problem(?)

Crossing US/Canada Border for less than 24 hours

An adverb for when you're not exaggerating

What happened to Thoros of Myr's flaming sword?

Quadrilaterals with equal sides

Can a new player join a group only when a new campaign starts?

Why limits give us the exact value of the slope of the tangent line?

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

How do I find out the mythology and history of my Fortress?

How many time has Arya actually used Needle?

Belief In God or Knowledge Of God. Which is better?

Would it be possible to dictate a bech32 address as a list of English words?

What does the power rating of 10W mean?

How to draw/optimize this graph with tikz

Sum letters are not two different

Putting class ranking in CV, but against dept guidelines

Exposing GRASS GIS add-on in QGIS Processing framework?

How to plot logistic regression decision boundary?

Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?

How to unroll a parameter pack from right to left



Where is pt-table-checksum finding this hostname?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)My master to slave replication stopped and is showing this error when I use SHOW SLAVE STATUS;pt-table-checksum - Verify MySQL replication integrityMySql replication from 5.1 master to 5.6 slave keep crashingReplication Error_code: 1032Slave failing to replication in MariaDB 10pt-table-checksum not finding differencesSlave stoping with Last_SQL_Errno: 1032Mariadb-10.0.30 Replication driftslave replication stopped workingMySQL Replication Error - Deadlock





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















The Setup: An EC2 instance running MySQL 5.6 locally replicating to RDS MySQL. The VPC IP address range is 172.0.0.0/8.



Somehow the slave got out of sync and I'm getting this error when I do SHOW SLAVE STATUS:



Could not execute Update_rows event on table db37708.general; Can't find record in 'general', Error_code: 1032; handler error HA_ERR_END_OF_FILE; the event's master log newprod.000106, end_log_pos 285712203


I compared the master and slave tables and yes, there is some data out of sync. Not schema, just text data. Okay, fine, I'll just run my script that wraps pt-table-checksum and I get this:



[ubuntu@fabersubuntu utils ]$ ./checksumSpecificTable.sh db37708 general
Replica ip-10-3-2-119 is stopped. Waiting.
Replica ip-10-3-2-119 is stopped. Waiting.
^C# Caught SIGINT.
TS ERRORS DIFFS ROWS CHUNKS SKIPPED TIME TABLE
04-19T12:09:50 0 0 1 1 0 32.282 db37708.general


So I run the script again after adding PTDEBUG=1 to it and I see things like this:



# DSNParser:1638 30974 DBI::db=HASH(0x21aae58) SET @@SQL_QUOTE_SHOW_CREATE = 1/*!40101, @@SQL_MODE='NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION'*/
# DSNParser:1652 30974 DBH info: DBI::db=HASH(0x21aae58) $VAR1 = {
# '@@hostname' => 'ip-10-3-2-119',
# 'CONNECTION_ID()' => '351452',
# 'DATABASE()' => undef,
# 'VERSION()' => '5.6.40-log'


My questions are:




  1. Where is this "hostname" coming from? Assuming it's an IP address format, it makes sense that it is waiting because I don't have any hosts in a 10.0.0.0 range.


  2. If I CALL mysql.skip_repl_error, I get another error; apparently I have lots of errors all of a similar type (so far). I assume pt-table-checksum can't do anything for me if replication isn't working, so what would be next step be other than rebuild my RDS slave?










share





























    0















    The Setup: An EC2 instance running MySQL 5.6 locally replicating to RDS MySQL. The VPC IP address range is 172.0.0.0/8.



    Somehow the slave got out of sync and I'm getting this error when I do SHOW SLAVE STATUS:



    Could not execute Update_rows event on table db37708.general; Can't find record in 'general', Error_code: 1032; handler error HA_ERR_END_OF_FILE; the event's master log newprod.000106, end_log_pos 285712203


    I compared the master and slave tables and yes, there is some data out of sync. Not schema, just text data. Okay, fine, I'll just run my script that wraps pt-table-checksum and I get this:



    [ubuntu@fabersubuntu utils ]$ ./checksumSpecificTable.sh db37708 general
    Replica ip-10-3-2-119 is stopped. Waiting.
    Replica ip-10-3-2-119 is stopped. Waiting.
    ^C# Caught SIGINT.
    TS ERRORS DIFFS ROWS CHUNKS SKIPPED TIME TABLE
    04-19T12:09:50 0 0 1 1 0 32.282 db37708.general


    So I run the script again after adding PTDEBUG=1 to it and I see things like this:



    # DSNParser:1638 30974 DBI::db=HASH(0x21aae58) SET @@SQL_QUOTE_SHOW_CREATE = 1/*!40101, @@SQL_MODE='NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION'*/
    # DSNParser:1652 30974 DBH info: DBI::db=HASH(0x21aae58) $VAR1 = {
    # '@@hostname' => 'ip-10-3-2-119',
    # 'CONNECTION_ID()' => '351452',
    # 'DATABASE()' => undef,
    # 'VERSION()' => '5.6.40-log'


    My questions are:




    1. Where is this "hostname" coming from? Assuming it's an IP address format, it makes sense that it is waiting because I don't have any hosts in a 10.0.0.0 range.


    2. If I CALL mysql.skip_repl_error, I get another error; apparently I have lots of errors all of a similar type (so far). I assume pt-table-checksum can't do anything for me if replication isn't working, so what would be next step be other than rebuild my RDS slave?










    share

























      0












      0








      0








      The Setup: An EC2 instance running MySQL 5.6 locally replicating to RDS MySQL. The VPC IP address range is 172.0.0.0/8.



      Somehow the slave got out of sync and I'm getting this error when I do SHOW SLAVE STATUS:



      Could not execute Update_rows event on table db37708.general; Can't find record in 'general', Error_code: 1032; handler error HA_ERR_END_OF_FILE; the event's master log newprod.000106, end_log_pos 285712203


      I compared the master and slave tables and yes, there is some data out of sync. Not schema, just text data. Okay, fine, I'll just run my script that wraps pt-table-checksum and I get this:



      [ubuntu@fabersubuntu utils ]$ ./checksumSpecificTable.sh db37708 general
      Replica ip-10-3-2-119 is stopped. Waiting.
      Replica ip-10-3-2-119 is stopped. Waiting.
      ^C# Caught SIGINT.
      TS ERRORS DIFFS ROWS CHUNKS SKIPPED TIME TABLE
      04-19T12:09:50 0 0 1 1 0 32.282 db37708.general


      So I run the script again after adding PTDEBUG=1 to it and I see things like this:



      # DSNParser:1638 30974 DBI::db=HASH(0x21aae58) SET @@SQL_QUOTE_SHOW_CREATE = 1/*!40101, @@SQL_MODE='NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION'*/
      # DSNParser:1652 30974 DBH info: DBI::db=HASH(0x21aae58) $VAR1 = {
      # '@@hostname' => 'ip-10-3-2-119',
      # 'CONNECTION_ID()' => '351452',
      # 'DATABASE()' => undef,
      # 'VERSION()' => '5.6.40-log'


      My questions are:




      1. Where is this "hostname" coming from? Assuming it's an IP address format, it makes sense that it is waiting because I don't have any hosts in a 10.0.0.0 range.


      2. If I CALL mysql.skip_repl_error, I get another error; apparently I have lots of errors all of a similar type (so far). I assume pt-table-checksum can't do anything for me if replication isn't working, so what would be next step be other than rebuild my RDS slave?










      share














      The Setup: An EC2 instance running MySQL 5.6 locally replicating to RDS MySQL. The VPC IP address range is 172.0.0.0/8.



      Somehow the slave got out of sync and I'm getting this error when I do SHOW SLAVE STATUS:



      Could not execute Update_rows event on table db37708.general; Can't find record in 'general', Error_code: 1032; handler error HA_ERR_END_OF_FILE; the event's master log newprod.000106, end_log_pos 285712203


      I compared the master and slave tables and yes, there is some data out of sync. Not schema, just text data. Okay, fine, I'll just run my script that wraps pt-table-checksum and I get this:



      [ubuntu@fabersubuntu utils ]$ ./checksumSpecificTable.sh db37708 general
      Replica ip-10-3-2-119 is stopped. Waiting.
      Replica ip-10-3-2-119 is stopped. Waiting.
      ^C# Caught SIGINT.
      TS ERRORS DIFFS ROWS CHUNKS SKIPPED TIME TABLE
      04-19T12:09:50 0 0 1 1 0 32.282 db37708.general


      So I run the script again after adding PTDEBUG=1 to it and I see things like this:



      # DSNParser:1638 30974 DBI::db=HASH(0x21aae58) SET @@SQL_QUOTE_SHOW_CREATE = 1/*!40101, @@SQL_MODE='NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION'*/
      # DSNParser:1652 30974 DBH info: DBI::db=HASH(0x21aae58) $VAR1 = {
      # '@@hostname' => 'ip-10-3-2-119',
      # 'CONNECTION_ID()' => '351452',
      # 'DATABASE()' => undef,
      # 'VERSION()' => '5.6.40-log'


      My questions are:




      1. Where is this "hostname" coming from? Assuming it's an IP address format, it makes sense that it is waiting because I don't have any hosts in a 10.0.0.0 range.


      2. If I CALL mysql.skip_repl_error, I get another error; apparently I have lots of errors all of a similar type (so far). I assume pt-table-checksum can't do anything for me if replication isn't working, so what would be next step be other than rebuild my RDS slave?








      mysql master-slave-replication percona-toolkit





      share












      share










      share



      share










      asked 5 mins ago









      faberfedorfaberfedor

      112




      112






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f235280%2fwhere-is-pt-table-checksum-finding-this-hostname%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f235280%2fwhere-is-pt-table-checksum-finding-this-hostname%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          ORA-01691 (unable to extend lob segment) even though my tablespace has AUTOEXTEND onORA-01692: unable to...

          Always On Availability groups resolving state after failover - Remote harden of transaction...

          Circunscripción electoral de Guipúzcoa Referencias Menú de navegaciónLas claves del sistema electoral en...