|
|
7f4c2a |
From 472cc15722c0bfbae73001c2472ff87f8f13e234 Mon Sep 17 00:00:00 2001
|
|
|
7f4c2a |
From: Aravinda VK <avishwan@redhat.com>
|
|
|
7f4c2a |
Date: Wed, 10 Jun 2015 15:26:47 +0530
|
|
|
7f4c2a |
Subject: [PATCH 62/73] tools/glusterfind: Fix GFID to Path conversion for dir
|
|
|
7f4c2a |
|
|
|
7f4c2a |
For Directories, GFID to Path conversion was fine, but wrong
|
|
|
7f4c2a |
filter was used while updating to db.
|
|
|
7f4c2a |
|
|
|
7f4c2a |
Change-Id: Id588adbb25ff5fd357f8cc2d5485bd2eb4a52b65
|
|
|
7f4c2a |
Signed-off-by: Aravinda VK <avishwan@redhat.com>
|
|
|
7f4c2a |
Reviewed-on: http://review.gluster.org/11158
|
|
|
7f4c2a |
Reviewed-on: http://review.gluster.org/11184
|
|
|
7f4c2a |
BUG: 1228597
|
|
|
7f4c2a |
Reviewed-on: https://code.engineering.redhat.com/gerrit/50550
|
|
|
7f4c2a |
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
|
|
|
7f4c2a |
---
|
|
|
7f4c2a |
tools/glusterfind/src/changelog.py | 2 +-
|
|
|
7f4c2a |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
7f4c2a |
|
|
|
7f4c2a |
diff --git a/tools/glusterfind/src/changelog.py b/tools/glusterfind/src/changelog.py
|
|
|
7f4c2a |
index b5f71c7..fd2384b 100644
|
|
|
7f4c2a |
--- a/tools/glusterfind/src/changelog.py
|
|
|
7f4c2a |
+++ b/tools/glusterfind/src/changelog.py
|
|
|
7f4c2a |
@@ -101,7 +101,7 @@ def populate_pgfid_and_inodegfid(brick, changelog_data):
|
|
|
7f4c2a |
path = output_path_prepare(path, args.output_prefix)
|
|
|
7f4c2a |
|
|
|
7f4c2a |
changelog_data.gfidpath_update({"path1": path},
|
|
|
7f4c2a |
- {"gfid": row[0]})
|
|
|
7f4c2a |
+ {"gfid": gfid})
|
|
|
7f4c2a |
else:
|
|
|
7f4c2a |
try:
|
|
|
7f4c2a |
# INODE and GFID to inodegfid table
|
|
|
7f4c2a |
--
|
|
|
7f4c2a |
1.7.1
|
|
|
7f4c2a |
|