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