belliottsmith commented on code in PR #106:
URL: https://github.com/apache/cassandra-accord/pull/106#discussion_r1693374208
##########
accord-core/src/main/java/accord/utils/Invariants.java:
##########
@@ -27,13 +27,16 @@
public class Invariants
{
- // TODO (now): configure by system parameter and turn off by default
- private static final boolean PARANOID = true;
- private static final boolean DEBUG = true;
+ private static final int PARANOIA =
Integer.parseInt(System.getProperty("accord.paranoia", "0"));
+ private static final boolean DEBUG = System.getProperty("accord.debug",
"false").equals("true");
Review Comment:
It compiles. We don’t have the same API available to accord. We could
introduce a parallel one for Accord
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]