This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2243 from aiven/harshini-redis-commands
Added restricted Redis commands
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ DZone | |
Elasticsearch | ||
Epicurious | ||
etcd | ||
eval | ||
event_type | ||
European Union | ||
failover | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
docs/products/redis/concepts/restricted-redis-commands.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Restricted Aiven for Redis®* commands | ||
====================================== | ||
|
||
To maintain the stability and security of the Redis environment, the Aiven for Redis* service restricts certain Redis commands. This section aims to provide you with a list of disabled/restricted commands. | ||
|
||
|
||
Disabled commands | ||
------------------ | ||
|
||
The Aiven for Redis* service has disabled the following Redis commands: | ||
|
||
- ``bgrewriteaof``: Initiates a background append-only file rewrite. | ||
- ``cluster``: Manages Redis cluster commands. | ||
- ``command``: Provides details about all Redis commands. | ||
- ``debug``: Contains sub-commands for debugging Redis. | ||
- ``failover``: Manages manual failover of a master to a replica. | ||
- ``migrate``: Atomically transfers a key from a Redis instance to another one. | ||
- ``role``: Returns the role of the instance in the context of replication. | ||
- ``slaveof``: Makes the server a replica of another instance, or promotes it as master. | ||
- ``acl``: Manages Redis Access Control Lists. | ||
- ``bgsave``: Creates a snapshot of the dataset into a dump file. | ||
- ``config``: Alters the configuration of a running Redis server. | ||
- ``lastsave``: Returns the UNIX timestamp of the last successful save to disk. | ||
- ``monitor``: Streams back every command processed by the Redis server. | ||
- ``replicaof``: Makes the server a replica of another instance. | ||
- ``save``: Synchronously saves the dataset to disk. | ||
- ``shutdown``: Synchronously saves the dataset to disk and then shuts down the server. | ||
|
||
Disabled eval commands | ||
------------------------- | ||
The following script evaluation commands in the Aiven for Redis* service are disabled. If you require these commands to be enabled, contact Aiven support. | ||
|
||
- ``eval``: Executes a Lua script server-side. | ||
- ``eval_ro``: Read-only variant of the `eval` command. | ||
- ``evalsha``: Executes a script cached on the server side by its SHA1 digest. | ||
- ``evalsha_ro``: Read-only variant of the `evalsha` command. | ||
- ``fcall``: Calls a Redis function. | ||
- ``fcall_ro``: Read-only variant of the `fcall` command. | ||
- ``function``: Manages Redis functions. | ||
- ``script``: Manages the script cache. |