Bug 1753994 - Mtime is not updated on setting it to older date online when sharding enabled
Summary: Mtime is not updated on setting it to older date online when sharding enabled
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: 5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-20 13:25 UTC by Sergey Pleshkov
Modified: 2020-03-12 12:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-12 12:15:27 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sergey Pleshkov 2019-09-20 13:25:29 UTC
Description of problem:
Mtime is not updated on setting it to older date when sharding enabled

Version-Release number of selected component (if applicable):
# gluster --version (RHEL7 and Centos7 two clusters)
glusterfs 5.5

RHEL7 | RHEL6 clients - glusterfs 3.13 / glusterfs 6.5

How reproducible:

Steps to Reproduce:
1. Create 3-way replicated volume.
2. gluster volume set %VOL features.shard on
3. gluster volume set %VOL features.shard-block-size 64MB
4. Mount volume on client by command mount -t glusterfs -oacl %IP:%VOL /%mountpoint
5. touch %mountpoint/file
6. stat %mountpoint/file
7. touch -m -t %older_date_than_created %mountpoint/file

mtime is shown changed after remount volume

Actual results:
mtime for %mountpoint/file was not changed to %older_date_than_created online

Expected results:
mtime for %mountpoint/file will changed to %older_date_than_created online

Additional info:

Comment 1 Sergey Pleshkov 2019-10-28 11:09:23 UTC
Hello everyone.

Will anyone deal with this problem? Are there any workarounds to install older mtime with sharding option?

Comment 2 Worker Ant 2020-03-12 12:15:27 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/853, and will be tracked there from now on. Visit GitHub issues URL for further details


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