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

Config Get maxmemory policy not possible on elasticache #1437

Closed
autarchprinceps opened this issue Sep 22, 2022 · 5 comments
Closed

Config Get maxmemory policy not possible on elasticache #1437

autarchprinceps opened this issue Sep 22, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@autarchprinceps
Copy link

On Elasticache you cannot do a Config Get, so the check for noeviction vs volatile-lru always fails and breaks everything.
This is an issue going from 1.91.1 to 2.0.1. I have setup noeviction as policy, but in AWS ElastiCache Parameter Group settings.
Message: Eviction policy is volatile-lru. It should be "noeviction"
Could you provide a method to surpress this check, so we can use version 2?

@manast
Copy link
Contributor

manast commented Sep 22, 2022

Ok. I guess the best, in this case, is to handle the error and in such case just output a warning that the" maxmemory" policy could not be determined. @roggervalf can you look into this?

@manast
Copy link
Contributor

manast commented Sep 22, 2022

Error message could be something along the lines: "maxmemory policy could not be determined, please make sure you are using 'noeviction' to avoid issues"

@patrickrbc
Copy link

It looks like this issue is preventing all ElastiCache users from updating to BullMQ's latest version. Is there a workaround or does it needs to be fixed here?

Is there anything blocking the fix from #1440?

@roggervalf
Copy link
Collaborator

hi @patrickrbc, that pr should not address this issue, as it check the maxMemory policy presence and from the description of this issue, maxMemory policy is present but having volatile-lru. I'm wondering if elasticache is not reflecting this value and just showing volatile-lru as default, could someone clarify this behavior?

@roggervalf
Copy link
Collaborator

please guys, upgrade to version 2.3.1, this should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants