Bug 1288509
| Summary: | rm -rf is taking very long time | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | RajeshReddy <rmekala> |
| Component: | tier | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | RajeshReddy <rmekala> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | byarlaga, dlambrig, josferna, mzywusko, nbalacha, nchilaka, rcyriac, rhs-bugs, rmekala, sankarshan, storage-qa-internal |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.5-15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-01 06:00:54 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
RajeshReddy
2015-12-04 13:00:21 UTC
sosreport available @/home/repo/sosreports/bug.1288509 on rhsqe-repo.lab.eng.blr.redhat.com Able to reproduce the issue without Step no 3 ( Kill all the brick process and restart the volume using force option) I was not running rename operations https://code.engineering.redhat.com/gerrit/#/c/64372/1 Options provided in for good performance gluster vol set features.ctr-sql-db-wal-autocheckpoint 25000 gluster vol set features.ctr-sql-db-cachesize 12500 gluster vol set help for details To delete 50k files took more than two hour Can you turn off ctr and rerun the test? gluster set volume <vol?> features.ctr-enabled off Tested with build glusterfs-server-3.7.5-13 and after setting features.ctr-sql-db-cachesize: 12500 and features.ctr-sql-db-wal-autocheckpoint: 25000 and removal of 50k files took 6m and clearly giving good performance As i need to repeat the same tests with build which having above settings as default values so please move this bug to ON_QA once build having proper default values Sure. Thanks :) Sure Tested with 3.7.5-14 build and after creation of new tiered volume verified the features.ctr-sql-db-wal-autocheckpoint and features.ctr-sql-db-cachesize default values and those values are not modified so marking this bug as failed QA [root@tettnang afr1x2_tier_bug]# rpm -qa | grep glusterfs glusterfs-3.7.5-14.el7rhgs.x86_64 glusterfs-geo-replication-3.7.5-14.el7rhgs.x86_64 glusterfs-fuse-3.7.5-14.el7rhgs.x86_64 glusterfs-debuginfo-3.7.5-14.el7rhgs.x86_64 glusterfs-api-3.7.5-14.el7rhgs.x86_64 glusterfs-rdma-3.7.5-14.el7rhgs.x86_64 glusterfs-client-xlators-3.7.5-14.el7rhgs.x86_64 glusterfs-server-3.7.5-14.el7rhgs.x86_64 glusterfs-ganesha-3.7.5-14.el7rhgs.x86_64 glusterfs-cli-3.7.5-14.el7rhgs.x86_64 glusterfs-libs-3.7.5-14.el7rhgs.x86_64 glusterfs-api-devel-3.7.5-14.el7rhgs.x86_64 glusterfs-devel-3.7.5-14.el7rhgs.x86_64 [root@tettnang afr1x2_tier_bug]# gluster vol get perform_create all | grep cachesize features.ctr-sql-db-cachesize 1000 [root@tettnang afr1x2_tier_bug]# gluster vol get perform_create all | grep ctr-sql-db-wal-autocheckpoint features.ctr-sql-db-wal-autocheckpoint 1000 [root@tettnang afr1x2_tier_bug]# Deletion of 50K files took 2m and by default features.ctr-sql-db-cachesize: and features.ctr-sql-db-wal-autocheckpoint set to 12500 & 25000 respectively so marking this bug as verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0193.html |