Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate unexpected queue flushing with cache and queued tracking on Redis #20208

Open
bx80 opened this issue Jan 13, 2023 · 2 comments
Open
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced.

Comments

@bx80
Copy link
Contributor

bx80 commented Jan 13, 2023

We have a reports of unexpected queue flushing when using a single Redis instance for both the Matomo cache and for the Queued tracking feature in a multi-server environment. The cache and queue were in difference databases on the same Redis instance.

Moving the Matomo cache to a separate Redis instance resolved this behavior for the customer.

Ref L3-386

This issue is a reminder that we should test this scenario to confirm that the Matomo cache and Queued tracking can be run on the same Redis instance and if not then this should be documented or fixed.

Expected Behavior

The Matomo cache and queued tracking should be able to co-exist on the same Redis instance but in separate databases.

Current Behavior

It's reported that this doesn't work, we need to confirm this.

Steps to Reproduce (for Bugs)

Setup Matomo cache on Redis
Setup Queued Tracking on Redis (same instance, separate database)
Push some queued tracking requests into Redis
Attempt a Matomo cache flush and see if it clears the tracking queue
Try other things that may trigger a flush?

@bx80 bx80 added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Jan 13, 2023
@bx80 bx80 added this to the For Prioritization milestone Jan 13, 2023
@tsteur
Copy link
Member

tsteur commented Jan 13, 2023

@bx80 I believe this is maybe matomo-org/plugin-QueuedTracking#167 ?

@tsteur
Copy link
Member

tsteur commented Jan 13, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced.
Projects
None yet
Development

No branches or pull requests

2 participants