diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2011-07-26 19:24:10 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-27 01:26:02 -0700 |
commit | 7382534ac11deda2317d31f5545409824e785380 (patch) | |
tree | 1fdf63d20d06a046175a75ed0df40b6fac52cc10 /xlators/mgmt/glusterd/src/glusterd-store.h | |
parent | 154d8c7a3d09779d2b2eaf7247bd9b8c9420edaa (diff) |
glusterd: handle replace-brick in paused state.v3.1.6qa2
This change ensures that glusterd retains 'state' information
of an ongoing replace brick operation even if it went down midway.
Change-Id: I01d5f86c22c91a3e8801614ea172956719061a05
BUG: 3252
Reviewed-on: http://review.gluster.com/110
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-store.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.h b/xlators/mgmt/glusterd/src/glusterd-store.h index b2e7bcc5ea0..3f64e6a6319 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.h +++ b/xlators/mgmt/glusterd/src/glusterd-store.h @@ -49,6 +49,9 @@ #define GLUSTERD_STORE_KEY_VOL_VERSION "version" #define GLUSTERD_STORE_KEY_VOL_TRANSPORT "transport-type" #define GLUSTERD_STORE_KEY_VOL_ID "volume-id" +#define GLUSTERD_STORE_KEY_RB_STATUS "rb_status" +#define GLUSTERD_STORE_KEY_RB_SRC_BRICK "rb_src" +#define GLUSTERD_STORE_KEY_RB_DST_BRICK "rb_dst" #define GLUSTERD_STORE_KEY_BRICK_HOSTNAME "hostname" #define GLUSTERD_STORE_KEY_BRICK_PATH "path" |