update to get failure mode

This commit is contained in:
Remzi Arpaci-Dusseau
2021-09-05 12:38:26 -05:00
parent 71a532b40f
commit 128cd49c76

View File

@@ -72,7 +72,8 @@ The full list of commands which your KV store should support are:
- *get*: The format is `g,key`, where `key` is an integer. If the key
is present, the system should print out the key, followed by a comma,
followed by the value, followed by a newline (`\n`). If not present,
nothing is printed.
print an error message on a line by itself, of the form `K not found`
where `K` is the actual value of the key, i.e., some integer.
- *delete*: The format is `d,key`, which either deletes the relevant
key-value pair (and prints nothing), or fails to do so (and prints
`K not found` where `K` is the actual value of the key, i.e., some