[Bugs] [Bug 1547841] New: Typo error in __dht_check_free_space function log message

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 22 04:53:19 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1547841

            Bug ID: 1547841
           Summary: Typo error in __dht_check_free_space function log
                    message
           Product: GlusterFS
           Version: 3.12
         Component: distribute
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: nbalacha at redhat.com
                CC: bugs at gluster.org, rhinduja at redhat.com,
                    rhs-bugs at redhat.com, storage-qa-internal at redhat.com,
                    tdesala at redhat.com
        Depends On: 1547128
            Blocks: 1546960



+++ This bug was initially created as a clone of Bug #1547128 +++

+++ This bug was initially created as a clone of Bug #1546960 +++

Description of problem:
======================
There is a type error in __dht_check_free_space function log message.

[2018-02-20 05:34:48.556248] W [MSGID: 109023]
[dht-rebalance.c:962:__dht_check_free_space] 0-distrepx3-dht: data movement of
file {blocks:7 name:(/1/linux-4.6.4/Documentation/device-mapper/era.txt) }
would result in dst node (distrepx3-replicate-1:41274488) having lower disk
space then the source node (distrepx3-replicate-2:41445560).Skipping file.

Message "then the source node" has to be corrected to "than the source node"

And we can remove the extra space before closing flower brace {blocks:7
name:(/1/linux-4.6.4/Documentation/device-mapper/era.txt) }

Version-Release number of selected component (if applicable):
3.12.2-4.el7rhgs.x86_64

Steps to Reproduce:
====================
1) create a gluster volume and start it.
2) FUSE mount on a volume and start IO.
3) Add bricks to the volume and, make sure that there is some space discrepancy 
4) start the rebalance without force option
gluster volume rebalance <vol> start 
5) Check the status of rebalance and make sure that some skipped files are
there

Actual results:
================
Log message has typo at then
"lower disk space then the source node" 

Expected results:
=================
Fix typo.

--- Additional comment from Worker Ant on 2018-02-20 10:10:56 EST ---

REVIEW: https://review.gluster.org/19604 (cluster/dht: Fixed a typo) posted
(#1) for review on master by N Balachandran

--- Additional comment from Worker Ant on 2018-02-21 17:06:56 EST ---

COMMIT: https://review.gluster.org/19604 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- cluster/dht: Fixed a typo

Replaced "then" with "than"

Change-Id: I73090e8c1a639befd7c5458e8d63bd173248bc7d
BUG: 1547128
Signed-off-by: N Balachandran <nbalacha at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1546960
[Bug 1546960] Typo error in __dht_check_free_space function log message
https://bugzilla.redhat.com/show_bug.cgi?id=1547128
[Bug 1547128] Typo error in __dht_check_free_space function log message
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list