Bug 1465462
| Summary: | stale file handles leads to data loss on loss of client side quorum | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> |
| Component: | replicate | Assignee: | Ravishankar N <ravishankar> |
| Status: | CLOSED NOTABUG | QA Contact: | Nag Pavan Chilakam <nchilaka> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.3 | CC: | nchilaka, pkarampu, rhs-bugs, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-27 13:56:35 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
Nag Pavan Chilakam
2017-06-27 13:31:18 UTC
I think exec > f.txt will truncate f.txt if I understand correctly. This is on plain XFS. pk@dhcp35-190 - ~ 19:17:32 :) ⚡ echo abc > a.txt pk@dhcp35-190 - ~ 19:17:42 :) ⚡ cat a.txt abc pk@dhcp35-190 - ~ 19:17:44 :) ⚡ exec 5>a.txt pk@dhcp35-190 - ~ 19:18:00 :) ⚡ ls -l /proc/self/fd total 0 lrwx------. 1 pk pk 64 Jun 27 19:18 0 -> /dev/pts/0 lrwx------. 1 pk pk 64 Jun 27 19:18 1 -> /dev/pts/0 lrwx------. 1 pk pk 64 Jun 27 19:18 2 -> /dev/pts/0 lr-x------. 1 pk pk 64 Jun 27 19:18 3 -> /proc/2767/fd l-wx------. 1 pk pk 64 Jun 27 19:18 5 -> /home/pk/a.txt pk@dhcp35-190 - ~ 19:18:05 :) ⚡ ls -l a.txt -rw-rw-r--. 1 pk pk 0 Jun 27 19:18 a.txt pk@dhcp35-190 - ~ 19:18:36 :) ⚡ exec 5>&- Could you close this as NOTABUG in case this is what you are calling it as the BUG. I think this is expected. |