We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc29b04 commit 83c41dcCopy full SHA for 83c41dc
open_test.go
@@ -325,7 +325,7 @@ func TestOpenRecovery(t *testing.T) {
325
return err.Error()
326
}
327
waitForCompactionsAndTableStats(d)
328
- return runLSMCmd(td, d)
+ return "ok"
329
default:
330
return fmt.Sprintf("unrecognized command %q", td.Cmd)
331
testdata/open_recovery
@@ -35,7 +35,11 @@ set e foo
35
36
reopen auto-compactions=on inject-errors=((RandomLatency "5ms" 1 (And OpFileWrite (PathMatch "*.sst"))))
37
----
38
-L5:
39
- 000012:[b#3,SET-e#10,SET]
40
-L6:
41
- 000006:[c#0,SET-d#0,SET]
+ok
+
+# Ensure closing and re-opening again succeeds (and the previous reopen didn't
+# accidentally delete a necessary sstable).
42
43
+reopen
44
+----
45
0 commit comments