Bug 1446381 - detach start does not kill the tierd
Summary: detach start does not kill the tierd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: hari gowtham
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: 1509191
TreeView+ depends on / blocked
 
Reported: 2017-04-27 19:16 UTC by hari gowtham
Modified: 2018-03-15 11:17 UTC (History)
2 users (show)

Fixed In Version: glusterfs-4.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1509191 (view as bug list)
Environment:
Last Closed: 2018-03-15 11:17:12 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description hari gowtham 2017-04-27 19:16:19 UTC
Description of problem:
The detach start command does not kill the tierd, It is killed by detach commit.

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

How reproducible:
100%

Steps to Reproduce:
1.create a tiered volume
2.mount it and write data to it.
3.issue detach start

Actual results:
we can see that the promotions are going on in the detach status
and we can also find the tier process.

Expected results:
the tier process should not be available after the detach start.

Additional info:

Comment 1 Worker Ant 2017-04-28 10:41:15 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#1) for review on master by hari gowtham (hari.gowtham005)

Comment 2 Worker Ant 2017-05-03 11:36:41 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#2) for review on master by hari gowtham (hari.gowtham005)

Comment 3 Worker Ant 2017-05-17 13:01:41 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#3) for review on master by hari gowtham (hari.gowtham005)

Comment 4 Worker Ant 2017-05-31 09:45:00 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#4) for review on master by hari gowtham (hari.gowtham005)

Comment 5 Worker Ant 2017-06-05 10:09:59 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#5) for review on master by hari gowtham (hari.gowtham005)

Comment 6 Worker Ant 2017-06-13 08:16:58 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#6) for review on master by hari gowtham (hari.gowtham005)

Comment 7 Worker Ant 2017-06-19 05:44:55 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#7) for review on master by hari gowtham (hari.gowtham005)

Comment 8 Worker Ant 2017-06-19 07:45:30 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#8) for review on master by hari gowtham (hari.gowtham005)

Comment 9 Worker Ant 2017-06-19 07:48:14 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#9) for review on master by hari gowtham (hari.gowtham005)

Comment 10 Worker Ant 2017-06-19 10:20:23 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#10) for review on master by hari gowtham (hari.gowtham005)

Comment 11 Worker Ant 2017-06-20 06:28:07 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#11) for review on master by hari gowtham (hari.gowtham005)

Comment 12 Worker Ant 2017-07-17 07:09:15 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#12) for review on master by hari gowtham (hari.gowtham005)

Comment 13 Worker Ant 2017-07-18 11:23:28 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#13) for review on master by hari gowtham (hari.gowtham005)

Comment 14 Worker Ant 2017-07-24 11:10:10 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#14) for review on master by hari gowtham (hari.gowtham005)

Comment 15 Worker Ant 2017-07-25 06:14:16 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#15) for review on master by hari gowtham (hari.gowtham005)

Comment 16 Worker Ant 2017-07-26 09:27:19 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#16) for review on master by hari gowtham (hari.gowtham005)

Comment 17 Worker Ant 2017-07-27 06:07:46 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#17) for review on master by hari gowtham (hari.gowtham005)

Comment 18 Worker Ant 2017-08-01 10:04:04 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#18) for review on master by hari gowtham (hari.gowtham005)

Comment 19 Worker Ant 2017-08-02 09:57:47 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#19) for review on master by hari gowtham (hari.gowtham005)

Comment 20 Worker Ant 2017-08-03 12:50:29 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#20) for review on master by hari gowtham (hari.gowtham005)

Comment 21 Worker Ant 2017-08-10 08:11:45 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#21) for review on master by hari gowtham (hari.gowtham005)

Comment 22 Worker Ant 2017-08-22 09:26:40 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#22) for review on master by hari gowtham (hari.gowtham005)

Comment 23 Worker Ant 2017-08-28 06:36:59 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#23) for review on master by hari gowtham (hari.gowtham005)

Comment 24 Worker Ant 2017-08-29 10:27:24 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#24) for review on master by hari gowtham (hari.gowtham005)

Comment 25 Worker Ant 2017-08-30 08:19:56 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#25) for review on master by hari gowtham (hari.gowtham005)

Comment 26 Worker Ant 2017-09-01 08:53:53 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#26) for review on master by hari gowtham (hari.gowtham005)

Comment 27 Worker Ant 2017-09-12 07:06:08 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#27) for review on master by hari gowtham (hari.gowtham005)

Comment 28 Worker Ant 2017-09-13 07:04:38 UTC
REVIEW: https://review.gluster.org/17137 (Tier: Stop tierd for detach start) posted (#28) for review on master by hari gowtham (hari.gowtham005)

Comment 29 Worker Ant 2017-12-01 05:58:25 UTC
COMMIT: https://review.gluster.org/17137 committed in master by \"hari gowtham\" <hari.gowtham005> with a commit message- Tier: Stop tierd for detach start

Problem: tierd was stopped only after detach commit
This makes the detach take a longer time. The detach
demotes the files to the cold brick and if the promotion
frequency is hit, then the tierd starts to promote files to
hot tier again.

Fix: stop tierd after detach start so the files get
demoted faster.

Note: the is_tier_enabled was not maintained properly.
That has been fixed too. some code clean up has been done.

Signed-off-by: hari gowtham <hgowtham>

Change-Id: I532f7410cea04fbb960105483810ea3560ca149b
BUG: 1446381

Comment 30 Shyamsundar 2018-03-15 11:17:12 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report.

glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html
[2] https://www.gluster.org/pipermail/gluster-users/


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