Bug 1171688
Summary: | AFR+SNAPSHOT: Read operation on file in USS is from wrong source brick | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anil Shah <ashah> | |
Component: | snapshot | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> | |
Status: | CLOSED WONTFIX | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.0 | CC: | rcyriac, rhs-bugs, smohan | |
Target Milestone: | --- | Keywords: | Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | USS | |||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1174187 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-16 16:03:37 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: | ||||
Bug Blocks: | 1174187 |
Description
Anil Shah
2014-12-08 12:08:55 UTC
Vijaykumar and I did a RCA on this. We found out that the lookup is not being traversed till AFR when a readdir has already happened as snapview server returns a cached data, because of this data was not being fetched from the right brick as AFR did not have any role to play. We are working to resolve this issue. On the second run, we found out that the data is served using md-cache. Need to figure out how we can effectively override md-cache is some of the corner cases. Currently there is a known issue with AFR when md-cache is enabled and a readdirp is performed Problem here is when a readdirp is performed, md-cache and glfsapi both caches the stat data and serves cached data when a lookup comes from the client. Because of this lookup will not reach AFR. AFR will decide from which source data needs to be severed only in the lookup_cbk. lookup is not reaching AFR, hence the issue. Also because of glfsapi limitation, we cannot send explicit lookup from snapview server without creating a new 'glfs_object_t' handle. Workaround can be one of the below: 1) Disable readdirp on snapview server 2) Disable md-cache for snapshots in sanpview server |