diff options
author | Vijay Bellur <vijay@gluster.com> | 2010-11-14 12:07:30 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-14 10:26:44 -0800 |
commit | 479393858a1744adf7c9f56216ca228b188a7398 (patch) | |
tree | 226398b54a826084614c8182700b490bfbe45320 /xlators/cluster/afr/src/pump.c | |
parent | d6f1f04ef0db60bcc0f4963dbd1b76ce73c36779 (diff) |
cluster/pump: Reset saved path upon pump completion
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
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
Diffstat (limited to 'xlators/cluster/afr/src/pump.c')
-rw-r--r-- | xlators/cluster/afr/src/pump.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |