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

Redo "protected-mode" enablement in a way that preserves "save on SIGTERM" #71

Merged
merged 1 commit into from
Aug 24, 2016

Conversation

tianon
Copy link
Contributor

@tianon tianon commented Aug 23, 2016

Closes #4 (again)

@tianon
Copy link
Contributor Author

tianon commented Aug 23, 2016

I wonder how hard it would be to rig up a test for "SIGTERM causes save"...

@tianon
Copy link
Contributor Author

tianon commented Aug 23, 2016

@jpetazzo any ideas for a simple way we can write a test for this behavior/regression? (or even just a spare moment to verify that this PR fixes the issue? 🙏)

@tianon
Copy link
Contributor Author

tianon commented Aug 23, 2016

I started one, did a SIGTERM, and it died with the following:

1:M 23 Aug 21:06:38.294 * DB saved on disk

So I think that means this is working?

@yosifkit
Copy link
Contributor

LGTM

@yosifkit yosifkit merged commit ec0cb4d into redis:master Aug 24, 2016
@yosifkit yosifkit deleted the protected-mode-redux branch August 24, 2016 23:26
tianon added a commit to infosiftr/stackbrew that referenced this pull request Aug 26, 2016
- `drupal`: 8.2.0-beta3
- `mariadb`: 10.0.27
- `redis`: fix "save on `SIGTERM`" (redis/docker-library-redis#71)
@TimWolla
Copy link
Contributor

any ideas for a simple way we can write a test for this behavior/regression? (or even just a spare moment to verify that this PR fixes the issue? 🙏)

How about this: docker-library/official-images#2097? 😄

@jpetazzo
Copy link

jpetazzo commented Sep 4, 2016

💯

Thanks for fixing this so quickly! You're the bestests :-)

adamiBs pushed a commit to adamiBs/docker-library-redis that referenced this pull request Sep 19, 2024
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 this pull request may close these issues.

4 participants