What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi we using a redi-sentinel setup like described here:

UPF4FKAQ0
UPF4FKAQ0 Posts: 29 🧑🏻‍🚀 - Cadet

Hi we using a redi-sentinel setup like described here: https://documentation.spryker.com/docs/spryker-core-feature-integration and we now getting errors in the zed like this
Predis \  NotSupportedException
The command ‘DBSIZE’ is not allowed in replication mode.

Comments

  • U01BV4LNUKZ
    U01BV4LNUKZ Posts: 9 🧑🏻‍🚀 - Cadet

    This is the Stacktrace (unfortunatelly as image only), does anyone know wht the issue might be?

  • U01BV4LNUKZ
    U01BV4LNUKZ Posts: 9 🧑🏻‍🚀 - Cadet

    I found a possible solution by overwriting
    \Spryker\Client\StorageRedis\Plugin\StorageRedisPlugin::getCountItems with

    return $this->getClient()->getCountItems();
    

    instead of

    return $this->getClient()->getDbSize();
    

    but Im not sure whether this could have any negative side effects.