[Bugs] [Bug 1221938] SIGNING FAILURE Error messages are poping up in the bitd log

bugzilla at redhat.com bugzilla at redhat.com
Sun May 31 07:20:58 UTC 2015


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



--- Comment #8 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10832 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit 457edddbaae62d6956c37b6d1fd45c75ae2c7cff
Author: Venky Shankar <vshankar at redhat.com>
Date:   Fri May 29 10:00:13 2015 +0530

    features/bitrot: serialize versioning

    Current signing interface (fsetxattr()) had couple of issues:

    One, a signing request (by bitrot daemon) is denied if the version
    against which an object is to be signed is unequal to the current
    version of the object (cases where another subsequent modification
    increments the version). Such request(s) are rejected with EINVAL
    sent back to the signer resulting in a bunch of errors (in logs)
    reported by bitrot daemon. Although, the object would be eventaully
    signed with the version matching the current version, the "lagging"
    request should be correctly handled.

    Two, more than one signing request could race against each other
    with the object getting signed with a version depending on which
    request ended up last in the race. Although harmless to some extent,
    such a case could end up marking the object's signature as stale
    for infinity (if the object is *never* touched) thereby resulting
    in scrubber skipping the object during verification.

    This patch fixes these issues by ordering signing request(s) and
    fixing version comparison checks at the time of signing.

    Change-Id: I9fa83dfa3be664ba4db61d7f2edc408f4bde77dd
    BUG: 1221938
    Signed-off-by: Venky Shankar <vshankar at redhat.com>
    Reviewed-on: http://review.gluster.org/10832
    Tested-by: Gluster Build System <jenkins at build.gluster.com>

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


More information about the Bugs mailing list