Bug 878869

Summary: Metadata timestamps ignored potentially causing loss of new metadata changes
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vidya Sakar <vinaraya>
Component: gluster-swiftAssignee: Thiago da Silva <thiago>
Status: CLOSED WONTFIX QA Contact: Saurabh <saujain>
Severity: medium Docs Contact:
Priority: high    
Version: 2.0CC: gluster-bugs, mzywusko, perfbz, poelstra, rhs-bugs, rwheeler, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 877563 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 877563    
Bug Blocks:    

Description Vidya Sakar 2012-11-21 12:55:50 UTC
+++ This bug was initially created as a clone of Bug #877563 +++

Description of problem:

  Gluster / Swift integration does not track when a given piece of metadata
  has been changed by the user. One request that is out of date could come in
  after another later request over-writing the new metadata with the old.

Version-Release number of selected component (if applicable):

  RHS 2.0, GlusterFS 3.3.0

How reproducible:

  Tough to reproduce. Would have to fake up a delayed operation in order to
  see this happen easily.

Steps to Reproduce: n/a

  
Actual results:

  Old metadata potentially over-writes new metadata.

Expected results:

  New metadata remains in tact.

Additional info:

--- Additional comment from Peter Portante on 2012-11-19 17:11:24 EST ---

Today we ignore the Swift method of tracking which metadata updates to
apply using timestamps. We need to properly track the time stamps and
only apply new metadata changes. This requires that all servers properly
keep their system times in sync.

Comment 5 Luis Pabón 2013-09-12 13:43:23 UTC
Please read comment on parent bug:  https://bugzilla.redhat.com/show_bug.cgi?id=877563#c3

Comment 6 Luis Pabón 2013-10-22 02:40:48 UTC
Please investigate if this is still an issue on the latest code.

Comment 7 Vivek Agarwal 2015-03-23 07:39:39 UTC
The product version of Red Hat Storage on which this issue was reported has reached End Of Life (EOL) [1], hence this bug report is being closed. If the issue is still observed on a current version of Red Hat Storage, please file a new bug report on the current version.







[1] https://rhn.redhat.com/errata/RHSA-2014-0821.html

Comment 8 Vivek Agarwal 2015-03-23 07:40:24 UTC
The product version of Red Hat Storage on which this issue was reported has reached End Of Life (EOL) [1], hence this bug report is being closed. If the issue is still observed on a current version of Red Hat Storage, please file a new bug report on the current version.







[1] https://rhn.redhat.com/errata/RHSA-2014-0821.html