zhenglin tao created HAWQ-377:
---------------------------------

             Summary: Reindex should not be dispatched to segments
                 Key: HAWQ-377
                 URL: https://issues.apache.org/jira/browse/HAWQ-377
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Core
            Reporter: zhenglin tao
            Assignee: Lei Chang


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to