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

pt-table-checksum REPLICATION_STOPPED exit status not documented

Details

    • 0.5

    Description

      From possible return codes:

      our %PTC_EXIT_STATUS = (
         # General flags:
         ERROR               => 1,
         ALREADY_RUNNING     => 2,
         CAUGHT_SIGNAL       => 4,
         NO_SLAVES_FOUND     => 8,
         # Tool-specific flags:
         TABLE_DIFF          => 16,
         SKIP_CHUNK          => 32,
         SKIP_TABLE          => 64,
         REPLICATION_STOPPED => 128,
      );
      

      REPLICATION_STOPPED is not documented:

         FLAG              BIT VALUE  MEANING
         ================  =========  ==========================================
         ERROR                     1  A non-fatal error occurred
         ALREADY_RUNNING           2  --pid file exists and the PID is running
         CAUGHT_SIGNAL             4  Caught SIGHUP, SIGINT, SIGPIPE, or SIGTERM
         NO_SLAVES_FOUND           8  No replicas or cluster nodes were found
         TABLE_DIFF               16  At least one diff was found
         SKIP_CHUNK               32  At least one chunk was skipped
         SKIP_TABLE               64  At least one table was skipped
      

      Attachments

        Issue Links

          Activity

            People

              sveta.smirnova Sveta Smirnova
              iwo.panowicz Iwo Panowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist