Bug 767192 - changes in error-gen for generating errors randomly
Summary: changes in error-gen for generating errors randomly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: error-gen
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-12-13 14:21 UTC by Raghavendra Bhat
Modified: 2013-07-24 17:41 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:41:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Bhat 2011-12-13 14:21:17 UTC
Description of problem:

We need an option in the error-gen xlator to generate the errors at random intervals. If the percentage of the fops for which error has to be returned and the random-failure both are given, then random-failure should take the priority.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2011-12-15 10:54:37 UTC
CHANGE: http://review.gluster.com/786 (debug/error-gen: add option to generate errors at random percentage) merged in master by Vijay Bellur (vijay)

Comment 2 Raghavendra Bhat 2012-02-20 05:47:53 UTC
Its fixed now. Now errors can be generated randomly from error-gen.


Note You need to log in before you can comment on or make changes to this bug.