| Summary: | stale files in indices/ directory | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Amar Tumballi <amarts> |
| Component: | unclassified | Assignee: | Pranith Kumar K <pkarampu> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | mainline | CC: | gluster-bugs, vraman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-05 12:24:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | fuse |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Amar Tumballi
2012-02-27 18:36:03 UTC
Index xlator does not delete the index file on unlink/rmdir. The stale entries will be there only till the next index-self-heal (every 10 minutes) is performed on it. One thing to note is that, for the self-heal to happen atleast 2 subvolumes of the replica subvols should be up. [root@pranithk-laptop repl2]# ls /gfs/repl2_?/.glusterfs/indices/xattrop | wc -l 380 [root@pranithk-laptop repl2]# sleep 600 && ls /gfs/repl2_?/.glusterfs/indices/xattrop | wc -l << one of the subvols is down. 380 [root@pranithk-laptop repl2]# gluster volume start repl2 force Starting volume repl2 has been successful [root@pranithk-laptop repl2]# sleep 600 && ls /gfs/repl2_?/.glusterfs/indices/xattrop | wc -l << both the subvols are up. 3 [root@pranithk-laptop repl2]# ls /gfs/repl2_?/.glusterfs/indices/xattrop /gfs/repl2_0/.glusterfs/indices/xattrop: /gfs/repl2_1/.glusterfs/indices/xattrop: [root@pranithk-laptop repl2]# Pranith |