Fixed WAL checkpointing not running on some systems

This commit is contained in:
Intelli 2022-03-20 16:29:51 -06:00
parent d97f5482ee
commit 92e030f3e8
2 changed files with 10 additions and 1 deletions

View file

@ -73,8 +73,10 @@ public class Process {
return;
}
Consumer.isPaused = true;
Statement statement = connection.createStatement();
Database.performCheckpoint(statement);
Consumer.isPaused = true;
ArrayList<Object[]> consumerData = Consumer.consumer.get(processId);
Map<Integer, String[]> users = Consumer.consumerUsers.get(processId);
Map<Integer, Object> consumerObject = Consumer.consumerObjects.get(processId);