提交 cbccdb6a authored 作者: Thomas Mueller's avatar Thomas Mueller

The database option "defrag_always=true" did not work with the MVStore.

上级 1f7ed15f
......@@ -17,7 +17,8 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp.
<ul><li>The database option "defrag_always=true" did not work with the MVStore.
</li><li>The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp.
The same for {d 'value'} (for date) and {t 'value'} (for time).
Thanks to Lukas Eder for reporting the issue.
</li><li>File system abstraction: support replacing existing files using move
......
......@@ -1340,6 +1340,8 @@ public class Database implements DataHandler {
mvStore.compactFile(dbSettings.maxCompactTime);
} else if (compactMode == CommandInterface.SHUTDOWN_DEFRAG) {
maxCompactTime = Long.MAX_VALUE;
} else if (getSettings().defragAlways) {
maxCompactTime = Long.MAX_VALUE;
}
mvStore.close(maxCompactTime);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论