kfaraz commented on code in PR #15684:
URL: https://github.com/apache/druid/pull/15684#discussion_r1452431829


##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/util/MultiStageQueryContext.java:
##########
@@ -380,6 +380,10 @@ static IndexSpec decodeIndexSpec(@Nullable final Object 
indexSpecObject, final O
    */
   public static TaskLockType validateAndGetTaskLockType(QueryContext 
queryContext, boolean isReplaceQuery)
   {
+    final boolean useConcurrentLocks = 
queryContext.getBoolean(Tasks.USE_CONCURRENT_LOCKS, false);

Review Comment:
   Capture the default value of `false` in a single place, preferably `Tasks` 
class itself.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to