2 * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.raft.messages;
11 * Enumerates server configuration change status reply codes.
13 * @author Thomas Pantelis
15 public enum ServerChangeStatus {
17 * Request successfully completed.
22 * No leader exists to process the request.
27 * For an AddServer request, the leader timed out trying to install a snapshot on the new server.
32 * For an AddServer request, the server to add already exists.
37 * For a RemoveServer request, the server to remove does not exist.
42 * The leader could not process the request due to a prior request that timed out while trying to
43 * achieve replication consensus.
45 PRIOR_REQUEST_CONSENSUS_TIMEOUT,
48 * An unsupported request, for example removing the leader in a single node cluster.
53 * Some part of the request is invalid.