The assignTasks() GraphQL mutation is used to assign node tasks.

For more information on common node tasks, see the LogScale Logical Architecture page in the Training section.


Below is the syntax for the assignTasks() mutation field:

      nodeID: integer! tasks: [NodeTaskEnum!]!
   ): [NodeTaskEnum!]!

Given and Returned Datatypes

For nodeID, give the unique identifier of the node to which to assign tasks. For the NodeTaskEnum, there are only a few choices from an enumerated list:

Table: AssignSystemRoleToGroupInput

storagebooleanyes Indicates a storage task.
digestbooleanyes Indicates a digest task.
querybooleanyes Represents a query task.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.