Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-377

Reindex should not be dispatched to segments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0.0-incubating
    • Core
    • None

    Description

      Currently reindex is dispatched to segments and forgot to request resource, which caused coredump.

      newload=# \d
      ERROR: index "pg_partition_rule_parchildrelid_index" contains unexpected zero page at block 1
      HINT: Please REINDEX it.
      newload=# create table test(a int);
      ERROR: index "gp_relfile_node_index" contains unexpected zero page at block 3
      HINT: Please REINDEX it.

      newload=# reindex index gp_relfile_node_index ;
      FATAL: Unexpected internal error (dispatcher.c:1477)
      DETAIL: FailedAssertion("!(resource)", File: "dispatcher.c", Line: 1477)
      HINT: Process 684468 will wait for gp_debug_linger=120 seconds before termination.
      Note that its locks and other resources will not be released until then.
      server closed the connection unexpectedly
      This probably means the server terminated abnormally
      before or while processing the request.
      The connection to the server was lost. Attempting reset: Succeeded.

      Attachments

        Activity

          People

            ztao1987 Zhenglin Tao
            ztao1987 Zhenglin Tao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: