Madan Jampani

Fix for copycat log max size setting. Turns out ^ is the bitwise exlusive or :)

Change-Id: I5a8e5e367d9fddc7441814aed91008608583aab4
...@@ -118,7 +118,7 @@ public class DatabaseManager implements DatabaseService, DatabaseAdminService { ...@@ -118,7 +118,7 @@ public class DatabaseManager implements DatabaseService, DatabaseAdminService {
118 private volatile LeaderElectEvent myLeaderEvent = null; 118 private volatile LeaderElectEvent myLeaderEvent = null;
119 119
120 // TODO make this configurable 120 // TODO make this configurable
121 - private int maxLogSizeBytes = 128 * (1024 ^ 2); 121 + private int maxLogSizeBytes = 128 * (1024 * 1024);
122 122
123 // TODO make this configurable 123 // TODO make this configurable
124 private long electionTimeoutMs = 5000; // CopyCat default: 2000 124 private long electionTimeoutMs = 5000; // CopyCat default: 2000
......