Print this page
7711 SMF: Finish implementing support for degraded state

*** 21,31 **** /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2015, Syneto S.R.L. All rights reserved. * Copyright 2016 Toomas Soome <tsoome@me.com> ! * Copyright 2016 RackTop Systems. */ /* * graph.c - master restarter graph engine * --- 21,31 ---- /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2015, Syneto S.R.L. All rights reserved. * Copyright 2016 Toomas Soome <tsoome@me.com> ! * Copyright 2017 RackTop Systems. */ /* * graph.c - master restarter graph engine *
*** 899,909 **** --- 899,911 ---- log_framework(LOG_DEBUG, "Starting %s.\n", v->gv_name); assert(v->gv_state == RESTARTER_STATE_OFFLINE); break; case RESTARTER_EVENT_TYPE_REMOVE_INSTANCE: + case RESTARTER_EVENT_TYPE_ADMIN_RESTORE: case RESTARTER_EVENT_TYPE_ADMIN_DEGRADED: + case RESTARTER_EVENT_TYPE_ADMIN_DEGRADE_IMMEDIATE: case RESTARTER_EVENT_TYPE_ADMIN_REFRESH: case RESTARTER_EVENT_TYPE_ADMIN_RESTART: case RESTARTER_EVENT_TYPE_ADMIN_MAINT_OFF: case RESTARTER_EVENT_TYPE_ADMIN_MAINT_ON: case RESTARTER_EVENT_TYPE_ADMIN_MAINT_ON_IMMEDIATE: