Bug 1272207 - Data Tiering:Filenames with spaces are not getting migrated at all
Summary: Data Tiering:Filenames with spaces are not getting migrated at all
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Joseph Elwin Fernandes
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1263619 1277359
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-15 18:53 UTC by Joseph Elwin Fernandes
Modified: 2016-06-20 00:01 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1263619
Environment:
Last Closed: 2016-06-16 13:40:19 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joseph Elwin Fernandes 2015-10-15 18:53:30 UTC
+++ This bug was initially created as a clone of Bug #1263619 +++

Description of problem:
=====================
Files which have spaces in their names are not getting demoted at all.
Looks like the delimiter was set.
I created some files with spaces in names which are not getting demoted, but files with no spaces in name were getting demoted.

For Eg:If I had a filename as "coca cola drink.txt", it was throwing following errors in tier log
[2015-09-16 10:06:40.801876] E [MSGID: 109037] [tier.c:194:tier_migrate_using_query_file] 0-ruby-tier-dht: failed parsing coca

[2015-09-16 10:06:40.801887] E [MSGID: 109037] [tier.c:194:tier_migrate_using_query_file] 0-ruby-tier-dht: failed parsing cola

[2015-09-16 10:06:40.801888] E [MSGID: 109037] [tier.c:194:tier_migrate_using_query_file] 0-ruby-tier-dht: failed parsing drink






Version-Release number of selected component (if applicable):
==========================================================
[root@zod glusterfs]# rpm -qa|grep gluster
glusterfs-client-xlators-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-api-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-fuse-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-debuginfo-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-server-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-cli-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-libs-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
[root@zod glusterfs]# gluster --version
glusterfs 3.7.4 built on Sep 12 2015 01:35:35
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.
[root@zod glusterfs]# 


How reproducible:
===============
easily

Steps to Reproduce:
===================
1.create a vol with quota enabled and attach tier vol and set ctr on 
2.set promo freq to say 100sec and demote to say 1000sec
3.Now create files with names having spaces.
4. Now don't access these files for say about 5min. This should mean they be demoted to cold.
But this doesnt happen and tier logs says "failed to parse"

Comment 1 Vijay Bellur 2015-10-15 18:54:03 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#5) for review on master by Joseph Fernandes

Comment 2 Vijay Bellur 2015-10-15 19:08:18 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#6) for review on master by Joseph Fernandes

Comment 3 Vijay Bellur 2015-10-16 06:58:46 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#7) for review on master by Joseph Fernandes

Comment 4 Vijay Bellur 2015-10-16 07:20:18 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#8) for review on master by Joseph Fernandes

Comment 5 Vijay Bellur 2015-10-20 15:32:07 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#9) for review on master by Joseph Fernandes

Comment 6 Vijay Bellur 2015-10-21 02:55:36 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#10) for review on master by Joseph Fernandes

Comment 7 Vijay Bellur 2015-10-21 17:40:58 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#11) for review on master by Joseph Fernandes

Comment 8 Vijay Bellur 2015-10-21 17:52:47 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#12) for review on master by Joseph Fernandes

Comment 9 Vijay Bellur 2015-10-27 15:02:14 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#13) for review on master by Joseph Fernandes

Comment 10 Vijay Bellur 2015-10-27 16:42:47 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#14) for review on master by Joseph Fernandes

Comment 11 Vijay Bellur 2015-10-29 04:05:44 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#15) for review on master by Joseph Fernandes

Comment 12 Vijay Bellur 2015-10-29 04:19:33 UTC
REVIEW: http://review.gluster.org/12354 (tier/libgfdb: Replacing ASCII query file with binary) posted (#16) for review on master by Joseph Fernandes

Comment 13 Niels de Vos 2016-06-16 13:40:19 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.