mirror of https://github.com/apache/cassandra
Disable chronicle analytics
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19656
This commit is contained in:
parent
636ffad069
commit
531de93369
|
|
@ -1,4 +1,5 @@
|
|||
5.0-beta2
|
||||
* Disable chronicle analytics (CASSANDRA-19656)
|
||||
* Replace Stream iteration with for-loop for StorageProxy::updateCoordinatorWriteLatencyTableMetric (CASSANDRA-19676)
|
||||
* Enforce metric naming contract if scope is used in a metric name (CASSANDRA-19619)
|
||||
* Avoid reading of the same IndexInfo from disk many times for a large partition (CASSANDRA-19557)
|
||||
|
|
|
|||
|
|
@ -141,6 +141,9 @@
|
|||
# comment out this entry to enable IPv6 support).
|
||||
-Djava.net.preferIPv4Stack=true
|
||||
|
||||
# Disable chronicle analytics. See CASSANDRA-19656
|
||||
-Dchronicle.analytics.disable=true
|
||||
|
||||
### Debug options
|
||||
|
||||
# uncomment to enable flight recorder
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@ public enum CassandraRelevantProperties
|
|||
CASSANDRA_VERSION("cassandra.version"),
|
||||
/** default heartbeating period is 1 minute */
|
||||
CHECK_DATA_RESURRECTION_HEARTBEAT_PERIOD("check_data_resurrection_heartbeat_period_milli", "60000"),
|
||||
CHRONICLE_ANALYTICS_DISABLE("chronicle.analytics.disable"),
|
||||
CHRONICLE_ANNOUNCER_DISABLE("chronicle.announcer.disable"),
|
||||
CLOCK_GLOBAL("cassandra.clock"),
|
||||
CLOCK_MONOTONIC_APPROX("cassandra.monotonic_clock.approx"),
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ import static org.apache.cassandra.config.CassandraRelevantProperties.ALLOCATE_T
|
|||
import static org.apache.cassandra.config.CassandraRelevantProperties.ALLOW_UNLIMITED_CONCURRENT_VALIDATIONS;
|
||||
import static org.apache.cassandra.config.CassandraRelevantProperties.AUTO_BOOTSTRAP;
|
||||
import static org.apache.cassandra.config.CassandraRelevantProperties.CONFIG_LOADER;
|
||||
import static org.apache.cassandra.config.CassandraRelevantProperties.CHRONICLE_ANALYTICS_DISABLE;
|
||||
import static org.apache.cassandra.config.CassandraRelevantProperties.DISABLE_STCS_IN_L0;
|
||||
import static org.apache.cassandra.config.CassandraRelevantProperties.INITIAL_TOKEN;
|
||||
import static org.apache.cassandra.config.CassandraRelevantProperties.IO_NETTY_TRANSPORT_ESTIMATE_SIZE_ON_SUBMIT;
|
||||
|
|
@ -144,6 +145,7 @@ public class DatabaseDescriptor
|
|||
{
|
||||
static
|
||||
{
|
||||
CHRONICLE_ANALYTICS_DISABLE.setBoolean(true);
|
||||
// This static block covers most usages
|
||||
FBUtilities.preventIllegalAccessWarnings();
|
||||
IO_NETTY_TRANSPORT_ESTIMATE_SIZE_ON_SUBMIT.setBoolean(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue