blob: 87926510224008aa5be2f73c700bdc1275dfecf7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core;
/**
* Implementations of this interface add constraints to when a node with
* pending global merges may be implicitly transitioned to Maintenance
* state in the default bucket space. This is to avoid flip-flopping nodes
* between being available and in maintenance when merge statistics
* change in a running system.
*/
public interface MaintenanceTransitionConstraint {
boolean maintenanceTransitionAllowed(int contentNodeIndex);
}
|