@@ -1223,7 +1223,7 @@ type MaintenanceModeOptions struct {
1223
1223
1224
1224
// ResetMaintenanceMode defines whether the operator should reset the maintenance mode if all storage processes
1225
1225
// under the maintenance zone have been restarted. The default is false. For more details see:
1226
- // https://github.com/FoundationDB/fdb-kubernetes-operator/blob/improve-maintenance-mode-integration/docs/manual/operations.md#maintenance
1226
+ // https://github.com/FoundationDB/fdb-kubernetes-operator/v2/ blob/improve-maintenance-mode-integration/docs/manual/operations.md#maintenance
1227
1227
// Default is false.
1228
1228
ResetMaintenanceMode * bool `json:"resetMaintenanceMode,omitempty"`
1229
1229
@@ -2971,15 +2971,15 @@ func (cluster *FoundationDBCluster) GetCurrentProcessGroupsAndProcessCounts() (m
2971
2971
// GetNextRandomProcessGroupID will return a randomly picked ProcessGroupID, the ID number will be between 1 and maxProcessGroupIDNum.
2972
2972
// This method makes sure that the returned ProcessGroupID is not in use and not marked to be removed.
2973
2973
// Using a randomized ProcessGroupID will reduce the risk of reusing the same ProcessGroupID for different process groups, see:
2974
- // https://github.com/FoundationDB/fdb-kubernetes-operator/issues/2071
2974
+ // https://github.com/FoundationDB/fdb-kubernetes-operator/v2/ issues/2071
2975
2975
func (cluster * FoundationDBCluster ) GetNextRandomProcessGroupID (processClass ProcessClass , processGroupIDs map [int ]bool ) ProcessGroupID {
2976
2976
return cluster .GetNextRandomProcessGroupIDWithExclusions (processClass , processGroupIDs , nil )
2977
2977
}
2978
2978
2979
2979
// GetNextRandomProcessGroupIDWithExclusions will return a randomly picked ProcessGroupID, the ID number will be between 1 and MaxProcessGroupIDNum.
2980
2980
// This method makes sure that the returned ProcessGroupID is not in use and not marked to be removed and is not excluded.
2981
2981
// Using a randomized ProcessGroupID will reduce the risk of reusing the same ProcessGroupID for different process groups, see:
2982
- // https://github.com/FoundationDB/fdb-kubernetes-operator/issues/2071
2982
+ // https://github.com/FoundationDB/fdb-kubernetes-operator/v2/ issues/2071
2983
2983
func (cluster * FoundationDBCluster ) GetNextRandomProcessGroupIDWithExclusions (processClass ProcessClass , processGroupIDs map [int ]bool , exclusions map [ProcessGroupID ]None ) ProcessGroupID {
2984
2984
var processGroupID ProcessGroupID
2985
2985
for {
@@ -3012,7 +3012,7 @@ func (cluster *FoundationDBCluster) newProcessGroupIDAllowed(processGroupID Proc
3012
3012
}
3013
3013
3014
3014
// If the randomly picked process group is part of the locality based exclusions, we shouldn't pick it.
3015
- // See: https://github.com/FoundationDB/fdb-kubernetes-operator/issues/1862
3015
+ // See: https://github.com/FoundationDB/fdb-kubernetes-operator/v2/ issues/1862
3016
3016
if _ , ok := exclusions [processGroupID ]; ok {
3017
3017
return false
3018
3018
}
0 commit comments