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

Maintenance mode check does not work properly if remote storage is enabled #131

Open
JesKingDev opened this issue Feb 8, 2023 · 0 comments · May be fixed by #132
Open

Maintenance mode check does not work properly if remote storage is enabled #131

JesKingDev opened this issue Feb 8, 2023 · 0 comments · May be fixed by #132

Comments

@JesKingDev
Copy link
Contributor

When using AWS S3 for remote file storage, the maintenance flag is written to remote storage. If the cron service is started while maintenance mode is enabled (ex. restarting the container or starting up a new container during the deployment), the cron service will correctly pick up that maintenance mode is enabled. However, the remote storage adapter is a cached adapter; the next time the file existence is checked, the value is still in cache and a false positive is returned for maintenance mode.

JesKingDev pushed a commit to JesKingDev/m2-ce-cron that referenced this issue Feb 9, 2023
…ce flag

Remote Storage implementation uses a caching mechanism incompatible with the cron service
@JesKingDev JesKingDev linked a pull request Feb 9, 2023 that will close this issue
JesKingDev added a commit to JesKingDev/m2-ce-cron that referenced this issue Nov 16, 2024
…ce flag (#4)

Remote Storage implementation uses a caching mechanism incompatible with the cron service

Co-authored-by: Jessica King <>
JesKingDev added a commit to JesKingDev/m2-ce-cron that referenced this issue Nov 16, 2024
…ce flag (#4)

Remote Storage implementation uses a caching mechanism incompatible with the cron service

Co-authored-by: Jessica King <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant