// Put plus count by storeID and group
Put plus count by storeID and group
// Put plus count by storeID and group
func (s *selectedStores) Put(id uint64, group string) {
	s.mu.Lock()
	defer s.mu.Unlock()
	distribution, ok := s.getDistributionByGroupLocked(group)
	if !ok {
		distribution = map[uint64]uint64{}
		distribution[id] = 0
	}
	distribution[id] = distribution[id] + 1
	s.groupDistribution.Put(group, distribution)
}
func ( s * selectedStores ) Put ( id uint64 , group string ) { s . mu . Lock ( ) defer s . mu . Unlock ( ) distribution , ok := s . getDistributionByGroupLocked ( group ) if ! ok { distribution = map [ uint64 ] uint64 { } distribution [ id ] = 0 } distribution [ id ] = distribution [ id ] + 1 s . groupDistribution . Put ( group , distribution ) }
Put plus count by storeID and group
Put plus count by storeID and group