From fe469d946780ac2ab81d5dd07e2e16e0929230f4 Mon Sep 17 00:00:00 2001 From: divyagayathri-hcl Date: Tue, 27 Aug 2024 12:39:57 -0700 Subject: [PATCH] Adding new states in WarmState Adapter. --- common/warm_restart.cpp | 6 +++++- common/warm_restart.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/warm_restart.cpp b/common/warm_restart.cpp index 34da10667..284ca09dc 100644 --- a/common/warm_restart.cpp +++ b/common/warm_restart.cpp @@ -13,7 +13,11 @@ const WarmStart::WarmStartStateNameMap WarmStart::warmStartStateNameMap = {REPLAYED, "replayed"}, {RECONCILED, "reconciled"}, {WSDISABLED, "disabled"}, - {WSUNKNOWN, "unknown"} + {WSUNKNOWN, "unknown"}, + {FROZEN, "frozen"}, + {QUIESCENT, "quiescent"}, + {CHECKPOINTED, "checkpointed"}, + {FAILED, "failed"} }; const WarmStart::DataCheckStateNameMap WarmStart::dataCheckStateNameMap = diff --git a/common/warm_restart.h b/common/warm_restart.h index 037628725..131573006 100644 --- a/common/warm_restart.h +++ b/common/warm_restart.h @@ -21,6 +21,10 @@ class WarmStart RECONCILED, WSDISABLED, WSUNKNOWN, + FROZEN, + QUIESCENT, + CHECKPOINTED, + FAILED, }; enum DataCheckState