Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d41bd233
Commit
d41bd233
authored
Apr 28, 2016
by
Dvir Volk
Committed by
antirez
May 10, 2016
Browse files
fixed comment formatting in RM_CreateCommand
parent
909a707b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
d41bd233
...
@@ -376,30 +376,30 @@ int commandFlagsFromString(char *s) {
...
@@ -376,30 +376,30 @@ int commandFlagsFromString(char *s) {
* be passed as a C string compoesd of space separated words, like for
* be passed as a C string compoesd of space separated words, like for
* example "write deny-oom". The set of flags are:
* example "write deny-oom". The set of flags are:
*
*
* "write": The command may modify the data set (it may also read from it).
*
* **
"write"
**
: The command may modify the data set (it may also read from it).
* "readonly": The command returns data from keys but never writes.
*
* **
"readonly"
**
: The command returns data from keys but never writes.
* "admin": The command is an administrative command (may change replication
*
* **
"admin"
**
: The command is an administrative command (may change replication
* or perform similar tasks).
* or perform similar tasks).
* "deny-oom": The command may use additional memory and should be denied during
*
* **
"deny-oom"
**
: The command may use additional memory and should be denied during
* out of memory conditions.
* out of memory conditions.
* "deny-script": Don't allow this command in Lua scripts.
*
* **
"deny-script"
**
: Don't allow this command in Lua scripts.
* "allow-loading": Allow this command while the server is loading data. Only
*
* **
"allow-loading"
**
: Allow this command while the server is loading data. Only
* commands not interacting with the data set should be allowed
* commands not interacting with the data set should be allowed
* to run in this mode. If not sure don't use this flag.
* to run in this mode. If not sure don't use this flag.
* "pubsub": The command publishes things on Pub/Sub channels.
*
* **
"pubsub"
**
: The command publishes things on Pub/Sub channels.
* "random": The command may have different outputs even starting from the
*
* **
"random"
**
: The command may have different outputs even starting from the
* same input arguments and key values.
* same input arguments and key values.
* "allow-stale": The command is allowed to run on slaves that don't serve stale
*
* **
"allow-stale"
**
: The command is allowed to run on slaves that don't serve stale
* data. Don't use if you don't know what this means.
* data. Don't use if you don't know what this means.
* "no-monitor": Don't propoagate the command on monitor. Use this if the command
*
* **
"no-monitor"
**
: Don't propoagate the command on monitor. Use this if the command
* has sensible data among the arguments.
* has sensible data among the arguments.
* "fast": The command time complexity is not greater than O(log(N)) where
*
* **
"fast"
**
: The command time complexity is not greater than O(log(N)) where
* N is the size of the collection or anything else representing
* N is the size of the collection or anything else representing
* the normal scalability issue with the command.
* the normal scalability issue with the command.
* "getkeys-api": The command implements the interface to return the arguments
*
* **
"getkeys-api"
**
: The command implements the interface to return the arguments
* that are keys. Used when start/stop/step is not enough because
* that are keys. Used when start/stop/step is not enough because
* of the command syntax.
* of the command syntax.
* "no-cluster": The command should not register in Redis Cluster since is not
*
* **
"no-cluster"
**
: The command should not register in Redis Cluster since is not
* designed to work with it because, for example, is unable to
* designed to work with it because, for example, is unable to
* report the position of the keys, programmatically creates key
* report the position of the keys, programmatically creates key
* names, or any other reason.
* names, or any other reason.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment