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: clusterversion.go
    path of file: ./repos/cockroach/pkg/clusterversion
    
    the code of the file until where you have to start completion: // Copyright 2020 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 accordance with
// the Business 
    
func (v *handleImpl) SetActiveVersion(ctx context.Context, cv ClusterVersion) error {
	// We only perform binary version validation here. SetActiveVersion is only
	// called on cluster versions received from other nodes (where `SET CLUSTER
	// SETTING version` was originally called). The stricter form of validation
	// happens there. SetActiveVersion is simply the cluster version bump that
	// follows from it.
	if err := v.setting.validateBinaryVersions(cv.Version, v.sv); err != nil {
		return err
	}

	v.setting.SetInternal(ctx, v.sv, cv)
	return nil
}