Bug 882112

Summary: RFE: Write a new translator to add time delay in fops
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: coreAssignee: Raghavendra Bhat <rabhat>
Status: CLOSED EOL QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, chrisw, gluster-bugs, rwheeler
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-22 15:46:38 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 Amar Tumballi 2012-11-30 07:03:48 UTC
Description of problem:
As of today, for the unit test framework, there is no 'configurable' options to introduce the delay into the fops without making changes in the code, which stops us from automating some of the race-case situations. Having a translator to do this job would be very desirable.

The request raised due to the problems of writing a test cases for scenarios like http://review.gluster.org/3730

One of the comment from Avati: "It would be handy to have a "debug/delay" translator where we can induce artificial delays (using timer thread) in the unwind path for specific (type) of fops (just like how error-gen errors specific types of fops) and expose the vulnerability window"

Comment 2 Kaleb KEITHLEY 2015-10-22 15:46:38 UTC
because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.