[
https://issues.apache.org/jira/browse/HAWQ-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057870#comment-15057870
]
ASF GitHub Bot commented on HAWQ-255:
-------------------------------------
GitHub user liming01 opened a pull request:
https://github.com/apache/incubator-hawq/pull/191
HAWQ-255: change CHECKPOINT_START_LOCK to a fine grained scope so that
checkpoint not blocked.
In some scenarios the request order of this lock and CheckpointStartLock
may cause deadlock, MirroredLock and LockRelationForResynchronize() are
useless in hawq now, and it may cause deadlock in
AbortTransaction()/CommitTransaction()/smgrDoDeleteActions(), so we remove them.
MirroredLock was removed at previous checkin.
LockRelationForResynchronize() need to be removed here.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liming01/incubator-hawq
mli/not_block_checkpoint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/191.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #191
----
commit 8c19074e3f917ce6c9cbe5451d7196f449ec752c
Author: Ming LI <[email protected]>
Date: 2015-12-15T11:04:10Z
HAWQ-255: change CHECKPOINT_START_LOCK to a fine grained scope so that
checkpoint not blocked.
----
> Checkpoint is blocked by TRANSACTION ABORT for INSERTING INTO a big partition
> table
> -----------------------------------------------------------------------------------
>
> Key: HAWQ-255
> URL: https://issues.apache.org/jira/browse/HAWQ-255
> Project: Apache HAWQ
> Issue Type: Bug
> Reporter: Ming LI
> Assignee: Lei Chang
>
> If at the same time there are other INSERT commands running in parallel, it
> will generates a lot of pg_xlog files. If at this time the system/master
> nodes crashed, it will take a very long time for recovery.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)