Skip to main content

Module datanode

Module datanode 

Source

StructsΒ§

DatanodeRequest πŸ”’
DatanodeSchedulingResponse πŸ”’
DrainDatanodeRequest πŸ”’
DrainDatanodeResponse πŸ”’

EnumsΒ§

DrainStrategy πŸ”’
HTTP strategy names follow the admin API’s snake_case convention.

FunctionsΒ§

default_parallelism πŸ”’
default_timeout πŸ”’
drain πŸ”’
Submits an asynchronous leader-region drain. Rejects requests for a datanode already being drained.
mark_schedulable πŸ”’
Restores scheduling; an active drain must finish before the node can receive regions.
scheduling_status πŸ”’
Reads the node’s scheduling state from the leader.