{"push_id":1016137607,"size":1,"distinct_size":1,"ref":"refs/heads/release-3.7","head":"7ece0b7b04059f79e25cd7bf44218eb4688dd8e3","before":"af7428490253421484e61409ddb77b653c4a5e63","commits":[{"sha":"7ece0b7b04059f79e25cd7bf44218eb4688dd8e3","author":{"email":"9e157012ae67f4ec8906b0ba0acc39e7756f1e97@redhat.com","name":"Avra Sengupta"},"message":"snapshot: Fix parent volinfo corruption in snapshot restore\n\n    Backport of http://review.gluster.org/#/c/13282/\n\nRemove parent_volinfo irrespective of success or failure\nof glusterd_lvm_snapshot_remove(). This prevents the\nduplication of the volinfo after the execution of\nglusterd_snapshot_restore().\n\nWhen commit fails on originator node, we don't perform\ncommit on the other nodes, as a result we don't have a\nbackup of /var/lib/glusterd/vols/<volname> in the\nGLUSTERD_TRASH in other nodes. But in the postvalidate\nwe try to restore from GLUSTED_TRASH and end up cleaning\nup /var/lib/glusterd/vols/<volname>. Hence moved\nglusterd_snapshot_backup_vol() from commit to prevalidate,\nso that the backup is always available when a cleanup is\nneeded.\n\nChange-Id: Icd471b23faf02bad680b9a1aadc4a0175f7cce8b\nBUG: 1301030\nSigned-off-by: Avra Sengupta <asengupt@redhat.com>\nReviewed-on: http://review.gluster.org/13282\nSmoke: Gluster Build System <jenkins@build.gluster.com>\nNetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>\nCentOS-regression: Gluster Build System <jenkins@build.gluster.com>\nReviewed-by: Rajesh Joseph <rjoseph@redhat.com>\n(cherry picked from commit 3f78b6b3dc6376945a1b1a7c4af16103901ab746)\nReviewed-on: http://review.gluster.org/13548","distinct":true,"url":"https://api.github.com/repos/anoopcs9/glusterfs/commits/7ece0b7b04059f79e25cd7bf44218eb4688dd8e3"}]}