| Summary: | Client hangs when coherent byte range locks is attempted in replicate setup | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Vijay Bellur <vbellur> | ||||||
| Component: | replicate | Assignee: | Vikas Gorur <vikas> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 2.0.4 | CC: | gluster-bugs, modjohn, vijay, vinayak | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | Type: | --- | |||||||
| Regression: | RTNR | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
When coherent byte range locks is attempted in afr setup, the clients hang and become unresponsive. Ping Pong (http://wiki.samba.org/index.php/Ping_pong) is being used to attempt coherent byte range locks. The client and server vol files are attached. Thanks to John Simmonds (john2.simmonds.uk) for pointing this bug. replicate/afr_lk_cbk used the struct flock returned by a previous STACK_WIND to do STACK_WIND on the next subvolume, instead of using the struct flock supplied by the user. After applying http://patches.gluster.com/patch/813/ the ping pong tool behaves as expected in http://wiki.samba.org/index.php/Ping_pong PATCH: http://patches.gluster.com/patch/813 in master (cluster/afr: Use user-supplied struct flock to STACK_WIND) PATCH: http://patches.gluster.com/patch/813 in release-2.0 (cluster/afr: Use user-supplied struct flock to STACK_WIND) I was the gentlemen who originally pointed out this bug and I am very happy to confirm that the patch fixed my/this problem. I have tested this on the setup I have here that uses both the distribute and replicate translators. Thank you very much GlusterFS support team. Regards, John Simmonds (In reply to comment #5) > I was the gentlemen who originally pointed out this bug and I am very happy to > confirm that the patch fixed my/this problem. > > I have tested this on the setup I have here that uses both the distribute and > replicate translators. > Thanks for your confirmation! |
Created attachment 39 [details] Output of RPM -qa