[Koha-bugs] [Bug 29088] New: Warning when connection to memcached fails is too long

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 22 23:29:02 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29088

            Bug ID: 29088
           Summary: Warning when connection to memcached fails is too long
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Actually when connection to memcached fails a warning is created :

    unless ($ismemcached) {
        warn "\nConnection to the memcached servers '@servers' failed. Are the
unix socket permissions set properly? Is the host reachable?\nIf you ignore
this warning, you will face performance issues\n";
        return $self;
    }

This will generate 2 lines plus one empty line.

It it shown even for CLI scripts.

During some system operations or bash scripts, we may shutdown memcached on
purpose.
In this case warning is annoying.

I propose we show a sorter text, and maybe a link to a wiki page.

We may choose to remove this warning for it can SPAM log files.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list