[Bugs] [Bug 1243753] Gluster cli logs invalid argument error on every gluster command execution

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 17 05:04:13 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11691 committed in master by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit 4cdeee511ef8bab977cbb31bc2e8f005fe340ef1
Author: Anoop C S <anoopcs at redhat.com>
Date:   Thu Jul 16 13:56:51 2015 +0530

    cli: Create missing logbuf_pool

    Since logbuf_pool was not created via glusterfs_ctx_defaults_init(),
    the following error was present in cli logs repeateadly for each
    and every execution of a gluster command.

    E [mem-pool.c:417:mem_get0] (-->/usr/local/lib/libglusterfs.so.0(+0x7e262)
    [0x7fdbc0b1f262] -->/usr/local/lib/libglusterfs.so.0(_gf_msg+0x804)
    [0x7fdbc0ac7844] -->/usr/local/lib/libglusterfs.so.0(mem_get0+0x78)
    [0x7fdbc0af5b48] ) 0-mem-pool: invalid argument [Invalid argument]

    This change creates ctx->logbuf_pool via glusterfs_ctx_defaults_init()
    in cli.c so that the above error is no longer logged in cli logs.

    Change-Id: I3fcd9cfefa06ddd52e1989b039ff5637372c3235
    BUG: 1243753
    Signed-off-by: Anoop C S <anoopcs at redhat.com>
    Reviewed-on: http://review.gluster.org/11691
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>

-- 
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