From 479393858a1744adf7c9f56216ca228b188a7398 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Sun, 14 Nov 2010 12:07:30 +0000 Subject: cluster/pump: Reset saved path upon pump completion Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 2084 ([3.1.1qa5] : replace-brick fails to migrate data when migration from same hostname) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2084 --- xlators/cluster/afr/src/pump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xlators/cluster/afr/src/pump.c b/xlators/cluster/afr/src/pump.c index a162d3fa164..e984d65b8a9 100644 --- a/xlators/cluster/afr/src/pump.c +++ b/xlators/cluster/afr/src/pump.c @@ -614,6 +614,8 @@ pump_complete_migration (xlator_t *this) gf_log (this->name, GF_LOG_DEBUG, "setxattr failed - while notifying sink complete"); } + + pump_save_path (this, "/"); } return 0; -- cgit