← Back to team overview

mahara-contributors team mailing list archive

[Bug 1814316] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9546
Committed: https://git.mahara.org/mahara/mahara/commit/650fae5548eb3c70d6346684a242fb2dd00b2159
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    master

commit 650fae5548eb3c70d6346684a242fb2dd00b2159
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Feb 12 09:55:42 2019 +1300

Bug 1814316: Checking memcached version if stats not available

behatnotneeded

Change-Id: I2bc1172044a160d72905bf56a55f505ccd1250c0
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1814316

Title:
  18.10 memcached and couchbase empty getStats() return

Status in Mahara:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  On file auth/session.php line 112 we have this bit of code : 
  $server_stats = $memcached->getStats();
                          if ($server_stats[$destination . ":" . $port]['pid'] <= 0) {
                              // can't reach the destination:port
                              throw new ConfigSanityException(get_string('nomemcachedserver', 'error', $server));
                          }

  We use a setup of a couchbase server that can handle memcached, but
  when arrive at that line, 112, the method returns a empty, even though
  we can set and get any information from couchbase.

  Is-it possible offers couchbase as a new type of sessionhandler?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814316/+subscriptions


References