Bug 987455
Summary: | Changelog - volume set encoding ascii still creates changelogs in binary format | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | M S Vishwanath Bhat <vbhat> |
Component: | geo-replication | Assignee: | Venky Shankar <vshankar> |
Status: | CLOSED NOTABUG | QA Contact: | Sudhir D <sdharane> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.1 | CC: | aavati, csaba, mzywusko, rhs-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 05:13: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: |
Description
M S Vishwanath Bhat
2013-07-23 12:14:32 UTC
The peculiarity here is, when there is no IO happening on the mount, the changelog generated will be empty. And in that case the format it ASCII [root@mustang ~]# file /rhs/bricks/brick2/.glusterfs/changelogs/CHANGELOG /rhs/bricks/brick2/.glusterfs/changelogs/CHANGELOG: ASCII text [root@mustang ~]# cat /rhs/bricks/brick2/.glusterfs/changelogs/CHANGELOG GlusterFS Changelog | version: v1.0 | encoding : 2 But whenever there is IO happening and there is actual data entry in the chaneglog, the format is binary. It's an ASCII changelog because of the content viz. GFID and other records which are persisted in it's canonical form. The records themselves are separated with '\0' (which could be why you are prompted while cat'ing it). When the changelog is empty, there are no records and there is no prompt during viewing it. |