Bug 868120 - Metadata written to disk even if no changes occur.
Metadata written to disk even if no changes occur.
Product: Gluster-Swift
Classification: Community
Component: object-server (Show other bugs)
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: Peter Portante
Depends On:
Blocks: 903396 978061
  Show dependency treegraph
Reported: 2012-10-19 01:30 EDT by Peter Portante
Modified: 2016-02-17 19:12 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Portante 2012-10-19 01:30:06 EDT
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:


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 01:30:39 EDT
Working on changes for this one.
Comment 2 Vijay Bellur 2012-10-25 18:04:28 EDT
CHANGE: http://review.gluster.org/4111 (Further reduce extended attribute reads/writes) merged in master by Anand Avati (avati@redhat.com)
Comment 3 Vijay Bellur 2012-11-16 07:46:31 EST
CHANGE: http://review.gluster.org/4173 (object-storage: only update metadata that changes) merged in master by Vijay Bellur (vbellur@redhat.com)

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