dcapwell commented on code in PR #2190:
URL: https://github.com/apache/cassandra/pull/2190#discussion_r1126768586
##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -4397,6 +4397,11 @@ public static boolean getAccordTransactionsEnabled()
return conf.accord_transactions_enabled;
}
+ public static void setAccordTransactionsEnabled(boolean b)
+ {
+ conf.accord_transactions_enabled = b;
Review Comment:
> nit: Does accord_transactions_enabled need to be volatile now?
since this is tests only, and that runs in `main` thread, I don't believe we
need to. This gets called before C* starts, so before any thread spins up
--
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]