Failed To Refresh Slots Cache

  • Sponsor Oct 13, 2016

配置信息如下:
{ domain: null,
_events: { refresh: [Object], close: [Object] },
_maxListeners: 10,
options:
{ showFriendlyErrorStack: false,
clusterRetryStrategy: [Function],
enableOfflineQueue: true,
enableReadyCheck: true,
scaleReads: 'master',
maxRedirections: 16,
retryDelayOnFailover: 100,
retryDelayOnClusterDown: 100,
retryDelayOnTryAgain: 100 },
scriptsSet: {},
connectionPool:
{ domain: null,
_events: [Object],
_maxListeners: 10,
redisOptions: undefined,
nodes: [Object],
specifiedOptions: [Object] },
startupNodes: [ [Object] ],
slots: [],
retryAttempts: 0,
offlineQueue: { _capacity: 16, _length: 0, _front: 0 },
delayQueue: { queues: {}, timeouts: {} },
subscriber:
{ domain: null,
_events: [Object],
_maxListeners: 10,
options: [Object],
scriptsSet: {},
commandQueue: [Object],
offlineQueue: [Object],
connector: [Object],
retryAttempts: 0,
status: 'connecting',
condition: [Object] },
status: 'connecting',
isRefreshing: true,
lastActiveSubscriber:
{ domain: null,
_events: [Object],
_maxListeners: 10,
options: [Object],
scriptsSet: {},
commandQueue: [Object],
offlineQueue: [Object],
connector: [Object],
retryAttempts: 0,
status: 'connecting',
condition: [Object] } } }
报错信息如下:
[ioredis] Unhandled error event: Error: Failed to refresh slots cache.

commented Oct 13, 2016

ioredis的cluster是不是只支持redis3.0以上的cluster?
是否支持codis集群?

commented Oct 13, 2016

只支持 Redis 3.0 之后的官方 Cluster。Codis 我记得是做了透明代理,直接用 new Redis() 连就行

closed this Oct 26, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Symptom

  • Error occurs when installing Crystal Reports.
  • During Crystal Reports installation it fails with the error:
    'Failed to update cache for execution. Program will exit.'


  • Note: Images and data in this SAP Knowledge Base Article is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. Start installing Crystal Reports.
  2. It then stop with the error:
    'Failed to update cache for execution. Program will exit'

Cause

Resolution

Failed to refresh slots cache redis
  • To successfully install Crystal Reports, perform one of the following:
    • Disable the AntiVirus software; or
    • Manually copy the files Crystal Reports uses for the installation. ( Not recommended. The solution is to disable the Anti-Virus software. )
  • To Manually copy the files Crystal Reports uses for the installation:
    1. Note the Deployment Unit file name.
      For example, in the screenshot of the error in the Symptom are, the file name is: 'tp.microsoft.wse.runtime-3.0-core-32, 14.0.0.760'
    2. Locate the folder with the same name in the Crystal Reports installation package:
      For example, the folder path is:
      <Installation Folder>DATA_UNITSCrystalReportsdunittp.microso ft.wse.runtime-3.0-core-32

    3. Copy the folder to the destination specified in the path.
      For example:
      <Installation Folder>/InstallData/InstallCache/tp.microsoft.wse.runtime-3.0-core-32/14.0.0.760/

      Where '/14.0.0.760/' are manually created subdirectories and the name of the subdirectory matches the file version number and taken from the error screenshot.
      Note: For Crystal Reports 2013 the installation may fail on the following Deployment Unit:

      shared.tp.aurora.microsoft.vcredist7-4.0-core-32,14.1.0.896

      This is Microsoft C++ Visual redistributable package and the Deployment Unit has installer within it. Additional step is required.
      After copying the Deployment Unit, double click on RequiredRuntimes.msi file at the following location:
      C:Program Files (x86)SAP BusinessObjectsInstallDataInstallCacheshared.tp.aurora.microsoft.vcredist7-4.0-core-3214.1.0.896

    4. Install Crystal Reports.
    5. It may fail on another Deployment Unit. If this occurs, repeat the steps above for each failed Deployment Unit.

Keywords

Failed to update cache for execution, Program will exit, Crystal Reports Error, CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Redis Cluster Failed To Refresh Slots Cache

Product

Chrome Refresh Cache

Slots

Failed To Refresh Slots Cache Redis

SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016