leveldb: fix invalid compaction pointers state
leveldb: testiong: add new test case in runAllOpts; make sure the database state are valid after first reopen
Merge remote-tracking branch 'upstream/master'