diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2020-03-10 21:06:20 +0530 |
---|---|---|
committer | Sunny Kumar <sunkumar@redhat.com> | 2020-03-12 11:27:16 +0000 |
commit | 75691851391694d27ad5dcb797df8d4a82fd9e2d (patch) | |
tree | 6ffe56158266d186c34efc608deb6e7ca6910c00 /xlators/mgmt/glusterd/src/glusterd-messages.h | |
parent | 131d24d0c06ca82015256b98695421e09d27304a (diff) |
glusterd/snapshot: Add a warning message when a volume config changes
While changing a volume configuration, there is a chance that the
brick layout on the disk might be changed. If snapshot is present
on such volumes that will effects it's working. So this patch adds
a warning message if snapshot is present while a volume config change
happen.
Change-Id: I7256863fef734841fce0bc9ad94d5d201b1813d5
Fixes: bz#1812144
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-messages.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-messages.h b/xlators/mgmt/glusterd/src/glusterd-messages.h index f75ba905372..435a43df85d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-messages.h +++ b/xlators/mgmt/glusterd/src/glusterd-messages.h @@ -302,6 +302,6 @@ GLFS_MSGID( GD_MSG_SHD_OBJ_GET_FAIL, GD_MSG_SVC_ATTACH_FAIL, GD_MSG_ATTACH_INFO, GD_MSG_DETACH_INFO, GD_MSG_SVC_DETACH_FAIL, GD_MSG_RPC_TRANSPORT_GET_PEERNAME_FAIL, GD_MSG_CLUSTER_RC_ENABLE, - GD_MSG_NFS_GANESHA_DISABLED, GD_MSG_GANESHA_NOT_RUNNING); + GD_MSG_NFS_GANESHA_DISABLED, GD_MSG_GANESHA_NOT_RUNNING, GD_MSG_SNAP_WARN); #endif /* !_GLUSTERD_MESSAGES_H_ */ |