Bug 767192

Summary: changes in error-gen for generating errors randomly
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: error-genAssignee: Raghavendra Bhat <rabhat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
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:41:35 UTC Type: ---
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: 817967    

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.