Bug 1303172 - Enhancement: Make self-heal status available in the cli heal output
Summary: Enhancement: Make self-heal status available in the cli heal output
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: All
OS: All
high
high
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-29 18:40 UTC by Joe Julian
Modified: 2018-11-20 09:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-20 09:09:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joe Julian 2016-01-29 18:40:37 UTC
Make the data that's available in a state dump available in heal output. Currently you can only determine the progress of a heal by dumping state on the source brick:

[xlator.features.locks.gv-cinder-locks.inode]
path=/vol-ad3357ba-c264-4e58-a1ac-1d90cb0f960d
mandatory=0
inodelk-count=2
lock-dump.domain.domain=gv-cinder-replicate-1:self-heal
inodelk.inodelk[0](ACTIVE)=type=WRITE, whence=0, start=0, len=0, pid = 18446744073709551610, owner=a4fe7f42607f0000, client=0x7f1bdea90e20, connection-id=storage07-29419-2016/01/29-00:00:46:182426-gv-cinder-client-3-0-0, granted at 2016-01-29 00:00:51
lock-dump.domain.domain=gv-cinder-replicate-1
inodelk.inodelk[0](ACTIVE)=type=WRITE, whence=0, start=4801027506176, len=131072, pid = 18446744073709551615, owner=ec425469a27f0000, client=0x7f1bdea8a200, connection-id=compute012-3825-2016/01/18-23:43:04:714824-gv-cinder-client-3-0, granted at 2016-01-29 17:41:31
lock-dump.domain.domain=gv-cinder-replicate-1:metadata


We need to know which node is doing the heal (compute012), and how far along it has progressed (4801027506176) in order to answer that inevitable question, "How much longer?" This data should be available to us from the CLI.

Comment 1 Vijay Bellur 2018-11-20 09:41:23 UTC
Migrated to github:

https://github.com/gluster/glusterfs/issues/598

Please follow the github issue for further updates on this bug.


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