aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/MergePendingChecker.java
blob: 7a1525841f1e6f20b7b9b5e210281cb4d6cd4411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 provide functionality for checking if a particular bucket space
 * has merges reported as pending from the cluster's distributor nodes. It is up
 * to the implementation to determine the exact semantics of what "pending" implies.
 */
public interface MergePendingChecker {

    boolean mayHaveMergesPending(String bucketSpace, int contentNodeIndex);

}