diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-05-01 22:40:01 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-05-01 22:40:01 +1000 |
commit | a0b34dfec253e65e121eaa8b45dc32bf9eebdb1f (patch) | |
tree | c570fa9bc0136af4f1247396900c53c9224276f4 /dist | |
parent | 32e918e486ecc75e2ffbf70d807eadb97d9cbe04 (diff) | |
download | mongo-a0b34dfec253e65e121eaa8b45dc32bf9eebdb1f.tar.gz |
Use a single "snapshot" config key to drop a snapshot or a range of snapshots.
refs #167
Diffstat (limited to 'dist')
-rw-r--r-- | dist/api_data.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index 63a70665277..000b3549c4c 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -206,17 +206,16 @@ methods = { Config('force', 'false', r''' return success if the object does not exist''', type='boolean'), - Config('snapall', 'false', r''' - drop all snapshots''', - type='boolean'), - Config('snapfrom', '', r''' - drop all snapshots more recent than, and including, the named - snapshot'''), Config('snapshot', '', r''' - the name of a single snapshot to drop'''), - Config('snapto', '', r''' - drop all snapshots earlier than, and including, the named - snapshot'''), + specify one or more snapshots to drop. + + The value must be either the name of a single snapshot to drop + (a string), or a list containing one of the following keys: + \c "all" to drop all snapshots, + \c "from=<snapshot>" to drop all snapshots after and including + the named snapshots, or + \c "to=<snapshot>" to drop all snapshots before and including + the named snapshot'''), ]), 'session.dumpfile' : Method([]), |