code: func (m *SingleNodeManager) SetPartitions(part []int32) {
  	sort.Slice(part, func(i, j int) bool { return part[i] < part[j] })
  	m.Lock()
  	m.node.SetPartitions(part)
  	m.Unlock()
  	nodePartitions.Set(len(part))
  }
docs: // set the partitions that this node is handling.