[Bugs] [Bug 1271705] New: Legacy files pre-existing tier attach must be promoted

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 14 14:09:47 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1271705

            Bug ID: 1271705
           Summary: Legacy files pre-existing tier attach must be promoted
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: gluster-dht
          Assignee: rhs-bugs at redhat.com
          Reporter: josferna at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: bugs at gluster.org, dlambrig at redhat.com,
                    vagarwal at redhat.com
        Depends On: 1252586
            Blocks: 1260923, 1261146



+++ This bug was initially created as a clone of Bug #1252586 +++

Files that exist before a tier is attached are called "legacy files". They
should be promoted to the hot tier when accessed. In some cases they are not if
the parent gfid (directory the file belongs in) is unavailable.

--- Additional comment from Anand Avati on 2015-08-11 15:54:09 EDT ---

REVIEW: http://review.gluster.org/11828 (tier/ctr: Lookup heal of cold tier
during attach tier) posted (#2) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Anand Avati on 2015-08-18 07:24:02 EDT ---

REVIEW: http://review.gluster.org/11828 (tier/ctr: Lookup heal of cold tier
during attach tier) posted (#3) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Anand Avati on 2015-08-21 06:55:50 EDT ---

REVIEW: http://review.gluster.org/11828 (tier/ctr: Lookup heal of cold tier
during attach tier) posted (#4) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Anand Avati on 2015-08-21 11:51:10 EDT ---

REVIEW: http://review.gluster.org/11828 (tier/ctr: Lookup heal of cold tier
during attach tier) posted (#5) for review on master by Joseph Fernandes

--- Additional comment from Anand Avati on 2015-08-27 13:14:14 EDT ---

REVIEW: http://review.gluster.org/11828 (tier/ctr: Lookup heal of cold tier
during attach tier) posted (#6) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-09-09 21:56:18 EDT ---

REVIEW: http://review.gluster.org/11828 (tier/ctr: Lookup heal of cold tier
during attach tier) posted (#8) for review on master by Dan Lambright
(dlambrig at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-10 13:42:11 EDT ---

COMMIT: http://review.gluster.org/11828 committed in master by Dan Lambright
(dlambrig at redhat.com) 
------
commit f6618acd4f7642dab19445e35cf2c7fbc8244a5e
Author: Joseph Fernandes <josferna at redhat.com>
Date:   Tue Aug 4 20:38:06 2015 +0530

    tier/ctr: CTR DB named lookup heal of cold tier during attach tier

    Heal hardlink in the db for already existing data in the cold
    tier during attach tier. i.e during fix layout do lookup to files
    in the cold tier.

    CTR xlator on the  brick/server side does db update/insert of the hardlink
on a namelookup.
    Currently the namedlookup is done synchronous to the fixlayout that is
    triggered by attach tier. This is not performant, adding more time to
    fixlayout. The performant approach is record the hardlinks on a compressed
    datastore and then do the namelookup asynchronously later, giving the ctr
db
    eventual consistency

    Change-Id: I4ffc337fffe7d447804786851a9183a51b5044a9
    BUG: 1252586
    Signed-off-by: Joseph Fernandes <josferna at redhat.com>
    Reviewed-on: http://review.gluster.org/11828
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Dan Lambright <dlambrig at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1252586
[Bug 1252586] Legacy files pre-existing tier attach must be promoted
https://bugzilla.redhat.com/show_bug.cgi?id=1260923
[Bug 1260923] Tracker for tiering in 3.1.2
https://bugzilla.redhat.com/show_bug.cgi?id=1261146
[Bug 1261146] Legacy files pre-existing tier attach must be promoted
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5q2hZYuVxj&a=cc_unsubscribe


More information about the Bugs mailing list