Bug 868120 - Metadata written to disk even if no changes occur.
Summary: Metadata written to disk even if no changes occur.
Keywords:
Status: MODIFIED
Alias: None
Product: Gluster-Swift
Classification: Community
Component: object-server
Version: 0.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 903396 978061
TreeView+ depends on / blocked
 
Reported: 2012-10-19 05:30 UTC by Peter Portante
Modified: 2023-01-31 23:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Peter Portante 2012-10-19 05:30:06 UTC
Description of problem:

  Today the code can write metadata to disk even if it has not been changed.

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

  RHS 2.0

How reproducible:

  Readily

Steps to Reproduce:
1. Clear memcache, or use object_only=False config
2. Issue a Swift API GET on a container
3. Observe that the metadata is read then written even though it has not changed
  
Actual results:

  Metadata written to disk when it has not changed.

Expected results:

  Metadata is only written to disk when it has changed.

Additional info:

Comment 1 Peter Portante 2012-10-19 05:30:39 UTC
Working on changes for this one.

Comment 2 Vijay Bellur 2012-10-25 22:04:28 UTC
CHANGE: http://review.gluster.org/4111 (Further reduce extended attribute reads/writes) merged in master by Anand Avati (avati)

Comment 3 Vijay Bellur 2012-11-16 12:46:31 UTC
CHANGE: http://review.gluster.org/4173 (object-storage: only update metadata that changes) merged in master by Vijay Bellur (vbellur)


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