Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6255

Drillbit while sending control message to itself creates a connection instead of submitting locally

    Details

      Description

      With the new shutdown feature introduced in 1.12, there is a state introduced in DrillbitEndpoint. Due to this the equality check happening here will result in false and hence the fragments supposed to be scheduled on Foreman will be treated as remote fragments and a connection will be created to schedule it. The equality check is false because localEndpoint state is STARTUP whereas state in assigned Drillbit is ONLINE.

      I guess now we should update the equality check to verify just for address and control port to be same between assigned and local Drillbit endpoint. A test can be added for this based on sys.memory table since that guarantees scheduling minor fragments on each Drillbit node.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shamirwasia Sorabh Hamirwasia
                Reporter:
                shamirwasia Sorabh Hamirwasia
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: