GitHub user hbdeshmukh opened a pull request:
https://github.com/apache/incubator-quickstep/pull/325
DO NOT MERGE: Concurrent queries transactions
Hello,
This PR has some skeleton code for basic transactional queries support in
quickstep. This PR follows the design proposed in the presentation attached
with https://issues.apache.org/jira/browse/QUICKSTEP-107.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hbdeshmukh/incubator-quickstep
concurrent-queries-transactions
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quickstep/pull/325.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 #325
----
commit 18692dbb6d6679aab89e503d388a5fc57889e811
Author: Harshad Deshmukh <[email protected]>
Date: 2017-11-16T16:27:28Z
Initial commit for APIs
- CompatabilityChecker base class in transaction checks the
compatability of an incoming transaction with other running
transactions.
- AdmissionControl base class decides whether to admit or waitlist an
incoming transaction.
- QueryHandle class provides a method to list all the base relations
referenced in a transaction.
commit 8f94489a8403c91110b454c7f93306d6c5d8fc57
Author: Harshad Deshmukh <[email protected]>
Date: 2017-11-20T17:02:33Z
Added more APIs to acquire locks
- Locks can be on CatalogRelation as well as individual blocks.
----
---