You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: node_id.go
    path of file: ./repos/cockroach/pkg/base
    
    the code of the file until where you have to start completion: // Copyright 2016 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in acco
    
func (s *StoreIDContainer) Set(ctx context.Context, val int32) {
	if val != TempStoreID && val <= 0 {
		panic(errors.AssertionFailedf("trying to set invalid storeID for the store in the Pebble log: %d", val))
	}
	oldVal := atomic.SwapInt32(&s.storeID, val)
	if oldVal != 0 && oldVal != val {
		panic(errors.AssertionFailedf("different storeIDs set for the store in the Pebble log: %d, then %d",
			oldVal, val))
	}
	if val == TempStoreID {
		s.str.Store("temp")
	} else {
		s.str.Store(strconv.Itoa(int(val)))
	}
}