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

Implement SHUTDOWN command #106

Open
kelvinmwinuka opened this issue Sep 11, 2024 · 2 comments
Open

Implement SHUTDOWN command #106

kelvinmwinuka opened this issue Sep 11, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@kelvinmwinuka
Copy link
Collaborator

The SHUTDOWN command shuts the server down synchronously.
Reference: https://redis.io/docs/latest/commands/shutdown/

Client-Server Spec:

Command File: ./internal/modules/admin/commands.go
Test File: ./internal/modules/admin/commands_test.go

Command: shutdown
Module: constants.AdminModule
Categories: contants.AdminCategory, constants.SlowCategory, constants.DangerousCategory
Description: (SHUTDOWN [NOSAVE | SAVE] [NOW] [FORCE] [ABORT]) synchronously shutdown the server
Sync: false

Embedded Spec:

Command File: ./echovault/api_admin.go
Test File: ./echovault/api_admin_test.go

Documentation

Add documentation to ./docs/docs/commands/admin/shutdown.mdx

@kelvinmwinuka kelvinmwinuka added enhancement New feature or request documentation Improvements or additions to documentation labels Sep 11, 2024
@zenc0derr
Copy link
Contributor

Hi @kelvinmwinuka , I would like to work on this issue.

@kelvinmwinuka
Copy link
Collaborator Author

Hey @zenc0derr this issue is available. Feel free to take it up :)

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

No branches or pull requests

2 participants