Bug 1619027 - geo-rep: Active/Passive status change logging is redundant
Summary: geo-rep: Active/Passive status change logging is redundant
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-19 17:58 UTC by Kotresh HR
Modified: 2018-10-23 15:17 UTC (History)
1 user (show)

Fixed In Version: glusterfs-5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-23 15:17:29 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2018-08-19 17:58:12 UTC
Description of problem:
The logs indicating the switching of workers to Active/Passive was redundant.
Status API too logs and locking function as well.

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

How reproducible:
Always

Steps to Reproduce:
1. Setup geo-rep with master volume with replica and observe logs

Actual results:
The Active/Passive switching logs are redundant

Expected results:
Single instance of log is good enough

Additional info:

Comment 1 Worker Ant 2018-08-19 18:00:12 UTC
REVIEW: https://review.gluster.org/20856 (geo-rep: Cleanup unwanted code) posted (#1) for review on master by Kotresh HR

Comment 2 Worker Ant 2018-08-20 03:22:28 UTC
COMMIT: https://review.gluster.org/20856 committed in master by "Aravinda VK" <avishwan> with a commit message- geo-rep: Cleanup unwanted code

Cleanup the Active/Passive logging code
which is redundant. With new status infra
implmented, this is redundant as every
status switch is logged by status infra.

fixes: bz#1619027
Change-Id: I0a6644cb998f3520e62a5189f21e4d66acc0e7c5
Signed-off-by: Kotresh HR <khiremat>

Comment 3 Shyamsundar 2018-10-23 15:17:29 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-5.0, please open a new bug report.

glusterfs-5.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] https://lists.gluster.org/pipermail/announce/2018-October/000115.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.