| Summary: | afr_rename, afr_rmdir don't acquire (all) the necessary entrylks. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | krishnan parthasarathi <kparthas> |
| Component: | replicate | Assignee: | krishnan parthasarathi <kparthas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | pre-release | CC: | amarts, gluster-bugs, nsathyan, rfortier |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-24 17:33:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
krishnan parthasarathi
2011-11-29 05:33:03 UTC
Saw the issue happening at this head: 5303f98f674ab5cb600dde0394ff7ddd5ba3c98a for a distributed-replicate volume with 6 bricks[3x2] Steps: 1. untarred openssl & did ./config && make && make test on the mount point 2. did replace brick from 1 brick to a fresh brick. 3. While the replace brick was migrating the openssl directory, did an rm -rf on the openssl directory. Result: rm failed saying that openssl/apps & openssl/crypto is not empty. From the mountpoint, the files inside those directories were empty, but at the backend, the destination brick after the migrate brick operation, has a file each in both the directories, which have gfid. But its still not visible from the mountpoint & hence rm fails on the directories. http://review.gluster.org/2828 posted for review CHANGE: http://review.gluster.org/2828 (afr: Modified book-keeping structures for entrylks) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4433 (replicate: fix lock counting in blocking lock path) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4436 (cluster/afr: before checking lock_count of internal lock make sure its not entrylk) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4442 (bug-765564.t: fix path for file to rename) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4438 (cluster/afr: if a subvolume is down wind the lock request to next) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4480 (afr: serialize modification of {entrylk,inodelk}_lock_count) merged in master by Anand Avati (avati) |