Red Hat Bugzilla – Bug 868120
Metadata written to disk even if no changes occur.
Last modified: 2016-11-08 17:26:29 EST
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):
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
Metadata written to disk when it has not changed.
Metadata is only written to disk when it has changed.
Working on changes for this one.
CHANGE: http://review.gluster.org/4111 (Further reduce extended attribute reads/writes) merged in master by Anand Avati (firstname.lastname@example.org)
CHANGE: http://review.gluster.org/4173 (object-storage: only update metadata that changes) merged in master by Vijay Bellur (email@example.com)