Arina Ielchiieva created DRILL-6006:
---------------------------------------
Summary: Label current is missing on Web UI since the same
drillbits with different status are considered to be different
Key: DRILL-6006
URL: https://issues.apache.org/jira/browse/DRILL-6006
Project: Apache Drill
Issue Type: Bug
Affects Versions: 1.12.0
Reporter: Arina Ielchiieva
Fix For: 1.13.0
After DRILL-4286 label current is missing on Web UI indicating current drillbit.
This happens because when creating DrillbitInfo object, we check [if current
drillbit is the same as
available|https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/DrillRoot.java#L197].
But {{dbContext.getEndpoint()}} returns drillbit with status {{startup}} and
{{work.getContext().getAvailableBits()}} returns drillbit with status
{{online}}, thus isCurrent variable is set as false but should be true.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)