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