pub fn accept_ingest_workload(datanode_workloads: &NodeWorkloads) -> bool
Expand description
Determines if a datanode is capable of accepting ingest workloads.
Returns true
if the datanode’s workload types include ingest capability,
or if the node is not of type [NodeWorkloads::Datanode].
A datanode is considered to accept ingest workload if it supports either:
- Hybrid workload (both ingest and query workloads)
- Ingest workload (only ingest workload)