ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_open

used to open the previous snapshot, in case the latest one
is corrupted
This commit is contained in:
Howard Chu
2017-08-12 12:21:25 +01:00
parent 86226754a9
commit 9c6eb75c65
8 changed files with 68 additions and 15 deletions

View File

@@ -14,6 +14,8 @@ mdb_stat \- LMDB environment status tool
[\c
.BR \-n ]
[\c
.BR \-v ]
[\c
.BR \-r [ r ]]
[\c
.BR \-a \ |
@@ -39,6 +41,10 @@ If \fB\-fff\fP is given, display the full list of page IDs in the freelist.
.BR \-n
Display the status of an LMDB database which does not use subdirectories.
.TP
.BR \-v
Use the previous environment state instead of the latest state.
This may be useful if the latest state has been corrupted.
.TP
.BR \-r
Display information about the environment reader table.
Shows the process ID, thread ID, and transaction ID for each active