ektravel commented on code in PR #14354:
URL: https://github.com/apache/druid/pull/14354#discussion_r1210812501


##########
docs/ingestion/tasks.md:
##########
@@ -387,13 +387,14 @@ The settings get passed into the `context` field of the 
compaction tasks issued
 
 The following parameters apply to all task types.
 
-|property|default|description|
+|Property|Description|Default|
 |--------|-------|-----------|
-|`taskLockTimeout`|300000|Task lock timeout in milliseconds. For more details, 
see [Locking](#locking).<br/><br/>When a task acquires a lock, it sends a 
request via HTTP and awaits until it receives a response containing the lock 
acquisition result. As a result, an HTTP timeout error can occur if 
`taskLockTimeout` is greater than `druid.server.http.maxIdleTime` of Overlords.|
-|`forceTimeChunkLock`|true|_Setting this to false is still experimental_<br/> 
Force to always use time chunk lock. If not set, each task automatically 
chooses a lock type to use. If set, this parameter overwrites 
`druid.indexer.tasklock.forceTimeChunkLock` [configuration for the 
overlord](../configuration/index.md#overlord-operations). See 
[Locking](#locking) for more details.|
-|`priority`|Different based on task types. See [Priority](#priority).|Task 
priority|
-|`useLineageBasedSegmentAllocation`|false in 0.21 or earlier, true in 0.22 or 
later|Enable the new lineage-based segment allocation protocol for the native 
Parallel task with dynamic partitioning. This option should be off during the 
replacing rolling upgrade from one of the Druid versions between 0.19 and 0.21 
to Druid 0.22 or higher. Once the upgrade is done, it must be set to true to 
ensure data correctness.|
-|`storeEmptyColumns`|true|Boolean value for whether or not to store empty 
columns during ingestion. When set to true, Druid stores every column specified 
in the [`dimensionsSpec`](ingestion-spec.md#dimensionsspec). <br/><br/>If you 
set `storeEmptyColumns` to false, Druid SQL queries referencing empty columns 
will fail. If you intend to leave `storeEmptyColumns` disabled, you should 
either ingest dummy data for empty columns or else not query on empty 
columns.<br/><br/>When set in the task context, `storeEmptyColumns` overrides 
the system property 
[`druid.indexer.task.storeEmptyColumns`](../configuration/index.md#additional-peon-configuration).|
+|`forceTimeChunkLock`|_Setting this to false is still experimental._<br/> 
Force to always use time chunk lock. If not set, each task automatically 
chooses a lock type to use. If set, this parameter overwrites 
`druid.indexer.tasklock.forceTimeChunkLock` [configuration for the 
overlord](../configuration/index.md#overlord-operations). See 
[Locking](#locking) for more details.|true|
+|`priority`|Task priority|Depends on the task type. See [Priority](#priority) 
for more details.|
+|`storeCompactionState`|Determines whether the task's metadata stores the 
state of the segments created by that task. In most cases, you should not need 
to set this parameter as it is set automatically on compaction tasks. |True by 
default for compaction tasks. For all other tasks, defaults to false. |

Review Comment:
   @suneet-s 
   A compaction task launches several sub-tasks. Can you please clarify which 
of the exact task types have this flag as `true`?



-- 
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