path: root/tests/bugs/bug-918437-sh-mtime.t
Commit message (Collapse)AuthorAgeFilesLines
* cluster/afr: Preserve mtime in self-healPranith Kumar K2013-04-101-0/+52
Problem: Data self-heal may choose sink iatt to set mtimes. This happens because after syncing of data is done self-heal does one more xattrops/fstat to determine sources sinks to set the inode-ctx. Since this is done after data syncing and erase of xattrs, old source and old sink are now sources, but the mtimes of them differ. Old code just takes the first source from the list and update mtimes, which could be sink before the self-heal started. Fix: Set mtime from 'sources before syncing'. Change-Id: Id769e1b99aa4f041eaee775f64cbf2c57b799723 BUG: 918437 Signed-off-by: Pranith Kumar K <> Reviewed-on: Reviewed-by: Jeff Darcy <> Tested-by: Gluster Build System <> Reviewed-on: Reviewed-by: Vijay Bellur <>