GitHub user linwen opened a pull request:
https://github.com/apache/incubator-hawq/pull/739
HAWQ-853. Master standby should avoid incomplete split operation
Please review, thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/linwen/incubator-hawq hawq-853
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/739.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 #739
----
commit 17d76245a73406dff9a399cc395e13ed5fbf87c6
Author: Wen Lin <[email protected]>
Date: 2016-06-22T08:14:58Z
HAWQ-853. Master standby should avoid incomplete split operation
Master standby performs replay of xlog records within a range of
checkpoints similar to crash recovery. During this is it may replay
incomplete multi-step operation at the end of the range. This generates
xlog. But Master standby should not generate xlog as it does not have
WAL subsystem active.
This fix avoids completing such operation e.g. Btree split if the
system is in standby mode.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---