Mmuzaf commented on code in PR #2046:
URL: https://github.com/apache/cassandra/pull/2046#discussion_r1168520541
##########
src/java/org/apache/cassandra/config/CassandraRelevantProperties.java:
##########
@@ -588,6 +817,21 @@ public void setEnum(Enum<?> value) {
System.setProperty(key, value.name());
}
+ /**
+ * @param key Property string key..
+ * @return Property.
+ */
+ public static CassandraRelevantProperties getProperty(String key)
Review Comment:
I have removed this newly added method as it is no longer relevant to the
changes.
##########
test/unit/org/apache/cassandra/service/paxos/uncommitted/PaxosStateTrackerTest.java:
##########
@@ -206,7 +176,7 @@ public void manualRebuild() throws Throwable
SystemKeyspace.savePaxosWritePromise(dk(0), cfm1, ballots[2]);
SystemKeyspace.savePaxosProposal(commit(cfm1, 2, ballots[3]));
- try (SystemProp forceRebuild =
SystemProp.set(PaxosStateTracker.FORCE_REBUILD_PROP, true))
+ try (WithProperties with = new
WithProperties(FORCE_PAXOS_STATE_REBUILD.getKey(), "true"))
Review Comment:
Fixed.
--
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]