Oleg Zinoviev created DRILL-7546:
------------------------------------
Summary: DrillbitContext.getCurrentEndpoint state is allways
"startup"
Key: DRILL-7546
URL: https://issues.apache.org/jira/browse/DRILL-7546
Project: Apache Drill
Issue Type: Bug
Affects Versions: 1.16.0
Reporter: Oleg Zinoviev
For now DrillbitContext:: getEndpoint::getState always returns STARTUP. Since
CoordinationProtos.DrillbitEndpoint is actively used in comparisons on equals
or as a key in hash map (e.g. in AssignmentCreator). this can lead to
situations where the comparison for the current node returns false if the node
information obtained from the coordinator and from DrillbitContext::getEndpoint
is compared.
Мне кажется, что я наблюдаю такую ситуацию в AssignmentCreator. Не могли бы вы
проверить это поведение? К сожалению я не понимаю, как написать тест,
демонстрирующий это.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)