in cluster/cluster.go [428:434]
func (cluster *Cluster) GetDbidForContent(contentID int, role ...string) int { segConfig := getSegmentByRole(cluster.ByContent[contentID], role...) if segConfig == nil { return -1 } return segConfig.DbID }