[Bugs] [Bug 1232199] Skip zero byte files when triggering signing

bugzilla at redhat.com bugzilla at redhat.com
Sat Jun 27 02:59:21 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11249 committed in release-3.7 by Venky
Shankar (vshankar at redhat.com) 
------
commit 555a8a14d70676a3cbd0816d8d59c557c53bccd5
Author: Raghavendra Bhat <raghavendra at redhat.com>
Date:   Wed May 27 17:00:36 2015 +0530

    features/bit-rot: check for both inmemory and ondisk staleness

        Backport of http://review.gluster.org/10947

    * Let bit-rot stub check both on disk ongoing version, signed version
xattrs and
      the in memory flags in the inode and then decide whether the inode is
stale or
      not. This information is used by one shot crawler in BitD to decide
whether to
      trigger the sign for the object or skip it.

      NOTE: The above check should be done only for BitD. For scrubber its
still the
            old way of comparing on disk ongoing version with signed version.

    * BitD's one shot crawler should not sign zero byte objects if they do not
contain
      signature. (Means the object was just created and nothing was written to
it).

    Change-Id: I580b45b85f62fc075616ee3da9c15a3c8335d7a8
    BUG: 1232199
    Signed-off-by: Raghavendra Bhat <raghavendra at redhat.com>
    Reviewed-on: http://review.gluster.org/11249
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Venky Shankar <vshankar at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.


More information about the Bugs mailing list