diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-01-13 09:31:18 +0000 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-01-26 23:25:55 -0800 |
commit | bf227251eadcc35a102fc9db0c39e36b7336954d (patch) | |
tree | c380673b36607caee3d14ac7140180729d6016bc /xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h | |
parent | becdb76238c45ebe3edc967376f4aee87c0cb6e3 (diff) |
glusterd/snap: Fix restore cleanup
If restore commit is successful on the originator and
a few nodes, but fails on some other node, restore cleanup
should restate the volume and the snapshot in question
as it was before the command was run.
Change-Id: I7bb0becc7f052f55bc818018bc84770944e76c80
BUG: 1181418
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/9441
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h b/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h index a5d82af559d..86b5e7443b1 100644 --- a/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h @@ -134,7 +134,7 @@ glusterd_snap_brick_create (glusterd_volinfo_t *snap_volinfo, int glusterd_snapshot_restore_cleanup (dict_t *rsp_dict, - glusterd_volinfo_t *volinfo, + char *volname, glusterd_snap_t *snap); int |