Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ public int getMaxWriterTasksCount()
return maxWriterTasksCount;
}

@Config("query.max-writer-task-count")
Copy link
Copy Markdown
Member

@ebyhr ebyhr Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

task-count was intentional. #16238 (comment)
It seems the session property wasn't changed when addressing the comment.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't make sense to me.
All the docs, session property, tests and codes are using tasks-count.

@sopel39 Could you take a look on this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the session property wasn't changed when addressing the comment.

Yes, I think addressing of comment was incomplete. @radek-starburst could you update rest of code (docs, session property)

@Config("query.max-writer-tasks-count")
@LegacyConfig("query.max-writer-task-count")
@ConfigDescription("Maximum number of tasks that will participate in writing data")
public QueryManagerConfig setMaxWriterTasksCount(int maxWritersNodesCount)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void testExplicitPropertyMappings()
.put("fault-tolerant-execution-runtime-adaptive-partitioning-partition-count", "888")
.put("fault-tolerant-execution-runtime-adaptive-partitioning-max-task-size", "18GB")
.put("fault-tolerant-execution-min-source-stage-progress", "0.3")
.put("query.max-writer-task-count", "101")
.put("query.max-writer-tasks-count", "101")
.put("fault-tolerant-execution-small-stage-estimation-enabled", "false")
.put("fault-tolerant-execution-small-stage-estimation-threshold", "6GB")
.put("fault-tolerant-execution-small-stage-source-size-multiplier", "1.6")
Expand Down