GitHub user zuyu opened a pull request:
https://github.com/apache/incubator-quickstep/pull/151
Marked SingleNodeQuery for Insertions.
This PR avoids the following incorrect situation:
1. An insert query has executed on Node 0, so the affected block is in the
buffer pool.
1. Another insert query on the same relation as above is supposed to be
scheduled on Node 1, which will pull the block from Node 0, and do the
insertion.
1. A select query on the same relation may be scheduled on Node 0, but
will miss the tuples inserted on Node 1.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-quickstep
mark_single_node_query
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quickstep/pull/151.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 #151
----
commit 5e03cdd17ca30679890065587c0c0c2bab819118
Author: Zuyu Zhang <[email protected]>
Date: 2016-12-04T22:11:58Z
Marked SingleNodeQuery for Insertions.
----
---
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.
---