Bug 1315727 - Tier: Synchronization required in tier_run function
Summary: Tier: Synchronization required in tier_run function
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-08 13:31 UTC by Mohammed Rafi KC
Modified: 2018-10-11 11:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-11 11:00:47 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Mohammed Rafi KC 2016-03-08 13:31:37 UTC
Description of problem:

Two threads one for promotion and another for demotion writing/reading a variable without taking locks which can lead into inconsistency.

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

mainline

How reproducible:

never tried

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Also serialization is required for defrag->defrag_status variable.

Comment 2 Amar Tumballi 2018-10-11 11:00:47 UTC
Tiering component recommended for no future action!


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