You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2016/01/26 07:47:39 UTC

[jira] [Created] (LENS-935) Add driver query acceptor

Rajat Khandelwal created LENS-935:
-------------------------------------

             Summary: Add driver query acceptor
                 Key: LENS-935
                 URL: https://issues.apache.org/jira/browse/LENS-935
             Project: Apache Lens
          Issue Type: New Feature
            Reporter: Rajat Khandelwal
            Assignee: Rajat Khandelwal


After rewrite, the selection of driver is done just once. I propose the following:

* Each driver has a list of acceptors
* Once a driver is selected, it's asked "do you accept this query", which it answers using its acceptors
* If the driver accepts, the flow after that is unchanged
* If the driver rejects, that driver is removed from candidates, and selection happens again. Then the flow goes back to point 2.
* If all reject, first driver's error is propagated. 



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