Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/482#discussion_r89306191
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java ---
@@ -218,13 +218,18 @@ private void javaPropertiesToSystemOptions() {
}
/**
- * If cluster version is the same as default, update option to current
drillbit version.
+ * If cluster version is the same as default, updates option to current
drillbit version.
+ * Since getOption and setOption are separate calls, raise condition
might occur
+ * when several drillbits are registering at the same time.
+ * It is assumed that the first drillbit in cluster sets cluster version
+ * but when the raise condition occurs, it might be the second or the
third etc.
--- End diff --
Not relevant since method was removed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---