Bug 1189473
Summary: | [RFE] While creating a snapshot the timestamp has to be appended to the snapshot name. | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Mohammed Rafi KC <rkavunga> | |
Component: | snapshot | Assignee: | Mohammed Rafi KC <rkavunga> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs, dnarayan, rjoseph, rkavunga, storage-qa-internal | |
Target Milestone: | --- | Keywords: | FutureFeature, Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1181108 | |||
: | 1311043 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 12:41:05 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1181108 | |||
Bug Blocks: | 1311043 |
Comment 1
Anand Avati
2015-02-05 12:41:10 UTC
REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#2) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#3) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#4) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#5) for review on master by Rajesh Joseph (rjoseph) REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#6) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#7) for review on master by Rajesh Joseph (rjoseph) REVIEW: http://review.gluster.org/9597 (snapshot:append timestamp with snapname) posted (#8) for review on master by Rajesh Joseph (rjoseph) REVIEW: http://review.gluster.org/9597 (snapshot: append timestamp with snapname) posted (#9) for review on master by mohammed rafi kc (rkavunga) Initial consumer of this feature is Samba's Shadow Copy feature. This feature allows Windows user to get previous revisions of a file. For this feature to work snapshot names under .snaps folder (USS) should have timestamp in following format appended: @GMT-YYYY.MM.DD-hh.mm.ss PS: https://www.samba.org/samba/docs/man/manpages/vfs_shadow_copy2.8.html This format is configurable by Samba conf file. Due to a limitation in Windows directory access the exact format cannot be used by USS. Therefore we have modified the file format to: _GMT-YYYY.MM.DD-hh.mm.ss Snapshot scheduling feature also required to append timestamp to the snapshot name therefore timestamp is appended in snapshot creation itself instead of doing the changes in snapview server. More info: https://www.mail-archive.com/gluster-users@gluster.org/msg18895.html COMMIT: http://review.gluster.org/9597 committed in master by Krishnan Parthasarathi (kparthas) ------ commit 1ae8b4c33af175545d6afe99aeb7a21896960a35 Author: Mohammed Rafi KC <rkavunga> Date: Thu Feb 5 16:12:53 2015 +0530 snapshot: append timestamp with snapname Appending GMT time stamp with snapname by default. If no-timestamp flag is given during snapshot creation, then time stamp will not append with snapname; Initial consumer of this feature is Samba's Shadow Copy feature. This feature allows Windows user to get previous revisions of a file. For this feature to work snapshot names under .snaps folder (USS) should have timestamp in following format appended: @GMT-YYYY.MM.DD-hh.mm.ss PS: https://www.samba.org/samba/docs/man/manpages/vfs_shadow_copy2.8.html This format is configurable by Samba conf file. Due to a limitation in Windows directory access the exact format cannot be used by USS. Therefore we have modified the file format to: _GMT-YYYY.MM.DD-hh.mm.ss Snapshot scheduling feature also required to append timestamp to the snapshot name therefore timestamp is appended in snapshot creation itself instead of doing the changes in snapview server. More info: https://www.mail-archive.com/gluster-users@gluster.org/msg18895.html Change-Id: Idac24670948cf4c0fbe916ea6690e49cbc832d07 BUG: 1189473 Signed-off-by: Mohammed Rafi KC <rkavunga> Reviewed-on: http://review.gluster.org/9597 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Rajesh Joseph <rjoseph> Reviewed-by: Krishnan Parthasarathi <kparthas> Tested-by: Krishnan Parthasarathi <kparthas> REVIEW: http://review.gluster.org/9861 (Snapshot:wrong logging is used) posted (#1) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9861 (Snapshot:wrong logging is used) posted (#2) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9861 (Snapshot: wrong logging is used) posted (#3) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9861 (Snapshot:wrong logging is used) posted (#4) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9861 (Snapshot:wrong logging is used) posted (#5) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/9861 (Snapshot:wrong logging is used) posted (#6) for review on master by mohammed rafi kc (rkavunga) COMMIT: http://review.gluster.org/9861 committed in master by Rajesh Joseph (rjoseph) ------ commit 1fd7655ab0795e5aa96cdbfb8c522b222734f4f2 Author: Mohammed Rafi KC <rkavunga> Date: Thu Mar 12 12:09:06 2015 +0530 Snapshot:wrong logging is used Change-Id: I56e5f5696fbbb4290f95adb9b68f9e43ed037ed3 BUG: 1189473 Signed-off-by: Mohammed Rafi KC <rkavunga> Reviewed-on: http://review.gluster.org/9861 Smoke: Gluster Build System <jenkins.com> Reviewed-by: Kaleb KEITHLEY <kkeithle> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Rajesh Joseph <rjoseph> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |