Bug 882112 - RFE: Write a new translator to add time delay in fops
Summary: RFE: Write a new translator to add time delay in fops
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-30 07:03 UTC by Amar Tumballi
Modified: 2015-10-22 15:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-22 15:46:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.


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