Merge remote-tracking branch 'origin/master' into fix_issue_94

This commit is contained in:
Dark Templar 2017-10-10 22:05:33 +08:00
commit 4908d2197a
1 changed files with 4 additions and 3 deletions

View File

@ -24,12 +24,13 @@ public class WriteLogManager {
public static boolean isRecovering = false;
// 0 represents BUFFERWRITE insert operation, 1 represents OVERFLOW insert operation
public static final int BUFFERWRITER = 0, OVERFLOW = 1;
private static List<String> recoveryPathList = new ArrayList<>();
private static class WriteLogManagerHolder {
private static final WriteLogManager INSTANCE = new WriteLogManager();
}
private static ConcurrentHashMap<String, WriteLogNode> logNodeMaps;
private static List<String> recoveryPathList = new ArrayList<>();
private static ConcurrentHashMap<String, WriteLogNode> logNodeMaps = new ConcurrentHashMap<>();
private WriteLogManager() {