-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Org data expiration is ignored #2797
Comments
@excieve if you open this commit link, it says it is included into 2.9.1 |
@buger Yes, but if you check whether this change is actually there in 2.9.2 it seems to be missing: Still, it might not be the cause of this particular issue as I'm seeing this on 2.9.1 as well. |
@excieve Looks like |
@komalsukhani I believe this particular feature depends on This is set to |
@maciejwojciechowski note that it was failing only in hybrid mode. |
Verified on local mdcb setup |
Branch/Environment/Version
Describe the bug
Data expiry set on an organisation to a non-default value is ignored by the Hybrid gateways after upgrading the image to
v2.9.2
. Whatever the value, the analytics records end up with 7 days expiry. I've tested this on all 2.9.x images and they all experience this issue, the last image it's working with isv2.8.5
(there's no 2.8.6 hybrid image for some reason).Reproduction steps
Steps to reproduce the behavior:
2592000
(30 days)tykio/tyk-hybrid-docker:v2.9.2
image (preferably using the officialstart.sh
script)expireAt
field on the analytics recordActual behavior
The
expireAt
field is set in future at 7 days.Expected behavior
The
expireAt
field should be set in future at 30 days.Logs (debug mode or log file):
hybexp.log
Configuration (tyk config file):
The standard hybrid image config, not altered.
Additional context
See these logs lines:
Also, this behaviour is potentially similar with on-prem, but haven't tested.
The text was updated successfully, but these errors were encountered: