https://github.com/voldemort/voldemort
Revision 43495a8d1da6718340e005eaaddab382c4f4b687 authored by Arunachalam Thirupathi on 12 December 2014, 02:54:38 UTC, committed by Arunachalam Thirupathi on 18 December 2014, 02:31:25 UTC
Add a tool Delete Keys CLI. This tool reads from a keyfile and deletes the key from the supplied stores. The tools are considered to be in human readable format and conversion will be attempted to the appropriate key. First of all understand that The tool also supports the following options 1) --delete-all-versions. If you have more than one value with conflicting versions, the tool will fail, because it may not have the value schema to de-serialize the value and resolve the conflict. The conflict resolution needs to happen before the key is deleted. 2) --nodeid <> --admin-url <>. If you want to delete keys only from a particular node. Use the above options. It is useful when you delete the keys and if a node went down, you want to rerun the tool with that option. 3) --find-keys-exist <> . After the delete you can run with this option to find if any of the keys exist. If the keys are found the tool dumps the version of each of the keys. The tool waits for the number of keys from each store before it completes.
1 parent ece26e2
Tip revision: 43495a8d1da6718340e005eaaddab382c4f4b687 authored by Arunachalam Thirupathi on 12 December 2014, 02:54:38 UTC
Delete Keys CLI
Delete Keys CLI
Tip revision: 43495a8
File | Mode | Size |
---|---|---|
.settings | ||
bin | ||
clients | ||
config | ||
contrib | ||
docs | ||
example | ||
gradle | ||
private-lib | ||
public-lib | ||
src | ||
test | ||
voldemort-contrib | ||
.gitignore | -rw-r--r-- | 242 bytes |
CONTRIBUTORS | -rw-r--r-- | 659 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
NOTES | -rw-r--r-- | 2.5 KB |
NOTICE | -rw-r--r-- | 8.1 KB |
README.md | -rw-r--r-- | 4.4 KB |
build.gradle | -rw-r--r-- | 19.4 KB |
build.xml | -rw-r--r-- | 22.1 KB |
gradle.properties | -rw-r--r-- | 1.2 KB |
gradlew | -rwxr-xr-x | 5.0 KB |
gradlew.bat | -rw-r--r-- | 2.3 KB |
release_notes.txt | -rw-r--r-- | 38.3 KB |
settings.gradle | -rw-r--r-- | 149 bytes |
tomcat-tasks.properties | -rw-r--r-- | 420 bytes |
web.xml | -rw-r--r-- | 1.1 KB |
Computing file changes ...