Иконка ресурса

Zend Redis Cache 1.6.0

Нет прав для скачивания
XenForo + Redis
  • Исправление ошибок
  • Техническое обновление
Update redis stats display to match other stats UI theming
Display redis slave stats
Ability to drill down to each slave's stats
  • Поддержка XenForo 1.5.16
  • Исправление ошибок
  • Техническое обновление
  • Исправление ошибок
  • Добавлены новые функции
  • Исправление ошибок
  • Major update to redis library fixing a number of inconsistencies between pure php & php-extension modes.
    • This is not a breaking change for my redis add-ons.
    • All unit tests should pass
    • For custom code, the following redis commands have breaking changes:
      • pipeline/multi/exec fixes
        • Impacts; hmget/hgetall/info/ttl/scan/sscan/hscan/zscan/zrangebyscore/zrevrangebyscore/zrange/zrevrange
      • zrange/zrevrange in php extension mode now works.
      • hmget now returns consistent data format for all combinations of; normal/pipeline/multi with pure-php/extension.
      • Errors from Redis are now prefixed with "ERR " in both pure-php like from the php extension.
      • Improved logic around closing the connection to Redis (should make persistent mode stable)
Known issue:
  • In php 7.x, with the php extension, pub/sub subscribing can cause memory corruption.
    • 3.1.4RC3 is known to fix this.
  • Синхронизация с последней версией redis для PHP
  • По умолчанию поддержка тегов Zend Cache отключена. Вам нужно их включить.

$config['cache']['backendOptions']['enable_tags'] = true;
  • Добавлены новые функции
  • Исправление ошибок
Update backend redis connector library.
  • Bugfix pure php connector, only impacts custom add-ons directly calling the redis library.
  • load_from_slaves option can now be 2 to include the master in the list of read-only instances to connect to.
This is a breaking change if you use sentinel support

The following configuration keys have been renamed:
  • sentinel_master_set renamed to sentinel_master
  • slave-select renamed to slave_select_callable
  • sentinel_persistent renamed to sentinel, which is now an arrary; ie array('persistent' => true)
A new option has been introduced:
  • sentinel_master_verify
    • Checks the redis master is actually a master, not required if you are loading from a slave or can accept errors when the master redis instance falls over.
  • The sentinel option supports the following arguments, if the option doesn't exist falls back to the parent option in 'backendOptions':
    • persistent
    • connect_retries
    • read_timeout
    • timeout

Старая конфигурация
$config['cache']['backendOptions'] = array(
        'sentinel_master_set' => 'mymaster',
        'sentinel_persistent' => true,
        'slave-select' => 'preferLocalSlaveLocalDisk',
Новая конфигурация
$config['cache']['backendOptions'] = array(
        'sentinel_master' => 'mymaster',
        'sentinel' => array('persistent' => true),
        'slave_select_callable' => 'preferLocalSlaveLocalDisk',